summaryrefslogtreecommitdiffstats
path: root/test/recipes/25-test_sid.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_sid.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_sid.t')
-rw-r--r--test/recipes/25-test_sid.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/recipes/25-test_sid.t b/test/recipes/25-test_sid.t
index 82f567f114..7d35e98c2d 100644
--- a/test/recipes/25-test_sid.t
+++ b/test/recipes/25-test_sid.t
@@ -24,5 +24,6 @@ plan tests => 2;
require_ok(srctop_file('test','recipes','tconversion.pl'));
subtest 'sid conversions' => sub {
- tconversion("sid", srctop_file("test","testsid.pem"), "sess_id");
+ tconversion( -type => 'sid', -in => srctop_file("test","testsid.pem"),
+ -args => ["sess_id"] );
};