summaryrefslogtreecommitdiffstats
path: root/test/recipes/90-test_overhead.t
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2016-10-06 12:44:29 +0200
committerMatt Caswell <matt@openssl.org>2016-11-02 15:00:11 +0100
commit542dd9c58712201a46a5519ee02e878792bbcb72 (patch)
tree3e42a299e32455b1b1879cb182cabadc9d3721f3 /test/recipes/90-test_overhead.t
parentAdd DTLS_get_data_mtu() function (diff)
downloadopenssl-542dd9c58712201a46a5519ee02e878792bbcb72.tar.xz
openssl-542dd9c58712201a46a5519ee02e878792bbcb72.zip
Add unit test for ssl_cipher_get_overhead()
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'test/recipes/90-test_overhead.t')
-rw-r--r--test/recipes/90-test_overhead.t20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/recipes/90-test_overhead.t b/test/recipes/90-test_overhead.t
new file mode 100644
index 0000000000..a9311bf498
--- /dev/null
+++ b/test/recipes/90-test_overhead.t
@@ -0,0 +1,20 @@
+#! /usr/bin/env perl
+# Copyright 2016 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 OpenSSL::Test;
+use OpenSSL::Test::Utils;
+
+setup("test_overhead");
+
+plan skip_all => "Only supported in no-shared builds"
+ if !disabled("shared");
+
+plan tests => 1;
+
+ok(run(test(["cipher_overhead_test"])), "running cipher_overhead_test");