diff options
author | Richard Levitte <levitte@openssl.org> | 2015-09-07 01:09:23 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-09-07 16:10:59 +0200 |
commit | a351805733a2c0511c61e7fef06fe645e31a4796 (patch) | |
tree | cc4419d6a938c1a9496cc9ce8e366d4bf3019d14 /test | |
parent | eb8cd5dec28313d03025c160f81207ac6137f44a (diff) | |
download | openssl-a351805733a2c0511c61e7fef06fe645e31a4796.zip openssl-a351805733a2c0511c61e7fef06fe645e31a4796.tar.gz openssl-a351805733a2c0511c61e7fef06fe645e31a4796.tar.bz2 |
Make sure that 80-test_ca.t finds all the config files
This recipe counted too much on being called with test/ as its current
working directory. That's a mistake on, for example, Windows.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/80-test_ca.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/recipes/80-test_ca.t b/test/recipes/80-test_ca.t index b044163..f57fb3c 100644 --- a/test/recipes/80-test_ca.t +++ b/test/recipes/80-test_ca.t @@ -21,12 +21,12 @@ remove_tree("demoCA", { safe => 0 }); plan tests => 4; SKIP: { - $ENV{SSLEAY_CONFIG} = "-config CAss.cnf"; + $ENV{SSLEAY_CONFIG} = "-config ".top_file("test", "CAss.cnf"); skip "failed creating CA structure", 3 if !is(system("$perl ".$CA_pl." -newca < ".devnull()." 2>&1"), 0, 'creating CA structure'); - $ENV{SSLEAY_CONFIG} = "-config Uss.cnf"; + $ENV{SSLEAY_CONFIG} = "-config ".top_file("test", "Uss.cnf"); skip "failed creating new certificate request", 2 if !is(system("$perl ".$CA_pl." -newreq 2>&1"), 0, 'creating new certificate request'); |