summaryrefslogtreecommitdiffstats
path: root/test/recipes
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2017-07-08 19:28:15 +0100
committerDr. Stephen Henson <steve@openssl.org>2017-07-13 12:38:42 +0100
commitd72a00416a0691bfd4920008767221bb4082a2ed (patch)
treed24d39af5c6938c6dbb49cfd24939111246ba850 /test/recipes
parentcd933ebd578d7ec77e1905250a4afbc65750bef4 (diff)
Add sanity test for certificate table
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3858)
Diffstat (limited to 'test/recipes')
-rw-r--r--test/recipes/03-test_internal_ssl_cert_table.t19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/recipes/03-test_internal_ssl_cert_table.t b/test/recipes/03-test_internal_ssl_cert_table.t
new file mode 100644
index 0000000000..1cafc23637
--- /dev/null
+++ b/test/recipes/03-test_internal_ssl_cert_table.t
@@ -0,0 +1,19 @@
+#! /usr/bin/env perl
+# Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
+#
+# Licensed under the OpenSSL license (the "License"). You may not use
+# this file except in compliance with the License. You can obtain a copy
+# in the file LICENSE in the source distribution or at
+# https://www.openssl.org/source/license.html
+
+use strict;
+use OpenSSL::Test; # get 'plan'
+use OpenSSL::Test::Simple;
+use OpenSSL::Test::Utils;
+
+setup("test_internal_ssl_cert_table");
+
+plan skip_all => "This test is unsupported in a shared library build on Windows"
+ if $^O eq 'MSWin32' && !disabled("shared");
+
+simple_test("test_internal_ssl_cert_table", "ssl_cert_table_internal_test");