mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
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>
This commit is contained in:
parent
eb8cd5dec2
commit
a351805733
@ -21,12 +21,12 @@ remove_tree("demoCA", { safe => 0 });
|
|||||||
|
|
||||||
plan tests => 4;
|
plan tests => 4;
|
||||||
SKIP: {
|
SKIP: {
|
||||||
$ENV{SSLEAY_CONFIG} = "-config CAss.cnf";
|
$ENV{SSLEAY_CONFIG} = "-config ".top_file("test", "CAss.cnf");
|
||||||
skip "failed creating CA structure", 3
|
skip "failed creating CA structure", 3
|
||||||
if !is(system("$perl ".$CA_pl." -newca < ".devnull()." 2>&1"), 0,
|
if !is(system("$perl ".$CA_pl." -newca < ".devnull()." 2>&1"), 0,
|
||||||
'creating CA structure');
|
'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
|
skip "failed creating new certificate request", 2
|
||||||
if !is(system("$perl ".$CA_pl." -newreq 2>&1"), 0,
|
if !is(system("$perl ".$CA_pl." -newreq 2>&1"), 0,
|
||||||
'creating new certificate request');
|
'creating new certificate request');
|
||||||
|
Loading…
Reference in New Issue
Block a user