1 --- openssl-1.1.0g/test/recipes/40-test_rehash.t~ 2018-01-28 19:08:01.151912658 +0000
2 +++ openssl-1.1.0g/test/recipes/40-test_rehash.t 2018-01-28 19:09:19.408454430 +0000
4 plan skip_all => "test_rehash is not available on this platform"
5 unless run(app(["openssl", "rehash", "-help"]));
10 indir "rehash.$$" => sub {
13 'Testing rehash operations on empty directory');
14 }, create => 1, cleanup => 1;
16 -indir "rehash.$$" => sub {
18 - chmod 0500, curdir();
20 - if (!ok(!open(FOO, ">unwritable.txt"),
21 - "Testing that we aren't running as a privileged user, such as root")) {
23 - skip "It's pointless to run the next test as root", 1;
25 - isnt(run(app(["openssl", "rehash", curdir()])), 1,
26 - 'Testing rehash operations on readonly directory');
28 - chmod 0700, curdir(); # make it writable again, so cleanup works
29 -}, create => 1, cleanup => 1;
32 my @pemsourcefiles = sort glob(srctop_file('test', "*.pem"));