diff options
author | Matt Caswell <matt@openssl.org> | 2016-09-08 12:01:24 +0300 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-09-13 11:41:21 +0300 |
commit | d6c4cc293974e622b387458d2293e29f8f14fbbb (patch) | |
tree | 30b685a2149c549d9f64835e948500bdd36f573a /test/recipes/70-test_wpacket.t | |
parent | 796a627e0a816ffbd79f53fa7d349e4edb624573 (diff) |
Add tests for the WPACKET implementation
The tests will only work in no-shared builds because WPACKET is an
internal only API that does not get exported by the shared library.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/recipes/70-test_wpacket.t')
-rw-r--r-- | test/recipes/70-test_wpacket.t | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/recipes/70-test_wpacket.t b/test/recipes/70-test_wpacket.t new file mode 100644 index 0000000000..9170122b77 --- /dev/null +++ b/test/recipes/70-test_wpacket.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_wpacket"); + +plan skip_all => "Only supported in no-shared builds" + if !disabled("shared"); + +plan tests => 1; + +ok(run(test(["wpackettest"]))); |