File: 10_ca_hashes_up_to_date.t

package info (click to toggle)
testssl.sh 2.9.5-7%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,640 kB
  • sloc: sh: 15,436; perl: 578; makefile: 11
file content (9 lines) | stat: -rwxr-xr-x 264 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env perl

use strict;
use Test::More tests => 1;


my $newer_bundles=`find etc/*.pem -newer etc/ca_hashes.txt`;
is($newer_bundles,"","List of CA bundles newer then etc/ca_hashes.txt should be empty. If not run utils/create_ca_hashes.sh"); 
done_testing;