summaryrefslogtreecommitdiff
path: root/test/recipes/25-test_sid.t
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-04-17 20:15:22 +0200
committerRichard Levitte <levitte@openssl.org>2015-09-07 16:10:57 +0200
commit4650de3e431d123e988821215f6473e93c3d4b17 (patch)
treeb27e697ae695847c69278fa7a942a1b15b8d67f2 /test/recipes/25-test_sid.t
parent0c85cc506916039bba86e8335aa71e0e44f038b0 (diff)
downloadopenssl-new-4650de3e431d123e988821215f6473e93c3d4b17.tar.gz
Add recipes for tests related to certificates
Some of them make use of recipes/tconversion.pl. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/recipes/25-test_sid.t')
-rw-r--r--test/recipes/25-test_sid.t18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/recipes/25-test_sid.t b/test/recipes/25-test_sid.t
new file mode 100644
index 0000000000..710eab429a
--- /dev/null
+++ b/test/recipes/25-test_sid.t
@@ -0,0 +1,18 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use File::Spec;
+use Test::More;
+use OpenSSL::Test qw/:DEFAULT top_file/;
+
+setup("test_sid");
+
+plan tests => 2;
+
+require_ok(top_file('test','recipes','tconversion.pl'));
+
+subtest 'sid conversions' => sub {
+ tconversion("sid", top_file("test","testsid.pem"), "sess_id");
+};