Shell script to generate ca_hashes.txt (OSX only)

This commit is contained in:
Frank Breedijk
2016-07-25 09:47:24 +02:00
parent fccc5fe4fb
commit 5d7367a68d
4 changed files with 298 additions and 699 deletions

9
t/10_ca_hashes_up_to_date.t Executable file
View File

@ -0,0 +1,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;