diff options
Diffstat (limited to 't/05_ca_hashes_up_to_date.t')
-rwxr-xr-x | t/05_ca_hashes_up_to_date.t | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/t/05_ca_hashes_up_to_date.t b/t/05_ca_hashes_up_to_date.t new file mode 100755 index 0000000..434b7a0 --- /dev/null +++ b/t/05_ca_hashes_up_to_date.t @@ -0,0 +1,16 @@ +#!/usr/bin/env perl + +use strict; +use Test::More; + +printf "\n%s\n", "Testing whether CA certificates are newer their SPKI hashes \"~/etc/ca_hashes.txt\" ..."; + +my $newer_bundles=`find etc/*.pem -newer etc/ca_hashes.txt`; +is($newer_bundles,"","If there's an output with a *.pem file run \"~/utils/create_ca_hashes.sh\""); + +printf "\n"; +done_testing; + + +# vim:ts=5:sw=5:expandtab + |