2016-07-25 09:47:24 +02:00
|
|
|
#!/usr/bin/env perl
|
|
|
|
|
|
|
|
use strict;
|
2020-01-14 18:44:11 +01:00
|
|
|
use Test::More;
|
|
|
|
|
|
|
|
printf "\n%s\n", "Testing whether CA certificates are newer their SPKI hashes \"~/etc/ca_hashes.txt\" ...";
|
2016-07-25 09:47:24 +02:00
|
|
|
|
|
|
|
my $newer_bundles=`find etc/*.pem -newer etc/ca_hashes.txt`;
|
2024-10-14 17:11:55 +02:00
|
|
|
is($newer_bundles,"","Checking if there's an output with a *.pem file run \"~/utils/create_ca_hashes.sh\"");
|
2020-01-14 18:44:11 +01:00
|
|
|
|
|
|
|
printf "\n";
|
2020-01-13 23:50:14 +01:00
|
|
|
done_testing;
|
2021-05-31 22:39:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
# vim:ts=5:sw=5:expandtab
|
|
|
|
|