summaryrefslogtreecommitdiffstats
path: root/test/recipes/25-test_x509.t
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-10-15 16:53:29 +0200
committerRichard Levitte <levitte@openssl.org>2020-10-16 19:07:20 +0200
commitb40498c6e7c6726cc4fc8fef5346f743fdd48aaf (patch)
treebb98e4c4bc4c143ff981589bd2c72a1c7d3cd835 /test/recipes/25-test_x509.t
parent372e72b19ee0b3584370fdea85e8be7dcf8b445b (diff)
TEST: modify tconversion.pl for forensics
In the interest of finding out what went wrong with a test by looking at its output, tconversion.pl is modified to take arguments in option form, and gets an additional -prefix option that callers can use to ensure output files are uniquely named. Test recipes are modified to use these new options. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/13147)
Diffstat (limited to 'test/recipes/25-test_x509.t')
-rw-r--r--test/recipes/25-test_x509.t9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/recipes/25-test_x509.t b/test/recipes/25-test_x509.t
index f5b4245960..896c5a1e6a 100644
--- a/test/recipes/25-test_x509.t
+++ b/test/recipes/25-test_x509.t
@@ -72,13 +72,16 @@ SKIP: {
}
subtest 'x509 -- x.509 v1 certificate' => sub {
- tconversion("x509", srctop_file("test","testx509.pem"));
+ tconversion( -type => 'x509', -prefix => 'x509v1',
+ -in => srctop_file("test","testx509.pem") );
};
subtest 'x509 -- first x.509 v3 certificate' => sub {
- tconversion("x509", srctop_file("test","v3-cert1.pem"));
+ tconversion( -type => 'x509', -prefix => 'x509v3-1',
+ -in => srctop_file("test","v3-cert1.pem") );
};
subtest 'x509 -- second x.509 v3 certificate' => sub {
- tconversion("x509", srctop_file("test","v3-cert2.pem"));
+ tconversion( -type => 'x509', -prefix => 'x509v3-2',
+ -in => srctop_file("test","v3-cert2.pem") );
};
subtest 'x509 -- pathlen' => sub {