diff options
author | Todd Short <tshort@akamai.com> | 2016-01-25 12:44:15 -0500 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-01-26 16:10:32 +0100 |
commit | 835894d1383ac23b910d581144c35214591a445a (patch) | |
tree | 6c2a563b3de9e139c15301354dbc93be0e4877f1 /test | |
parent | aa50e2a39d9e9ec3226d0b33feaf98198e779d47 (diff) | |
download | openssl-835894d1383ac23b910d581144c35214591a445a.tar.gz |
RT4272: Unit tests fail when DTLS disabled
Missing SKIP: block in SSL unit tests for DTLS and TLS version tests.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/80-test_ssl.t | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/recipes/80-test_ssl.t b/test/recipes/80-test_ssl.t index e7472a208b..d0bb79a8d3 100644 --- a/test/recipes/80-test_ssl.t +++ b/test/recipes/80-test_ssl.t @@ -657,6 +657,7 @@ sub testssl { my $n = ((@protos+2) * (@protos+3))/2 - 2; my $ntests = $n * $n; plan tests => $ntests; + SKIP: { skip "TLS disabled", 1 if $ntests == 1; my $should; @@ -690,7 +691,7 @@ sub testssl { print STDERR "\nFailed: @args\n"; } ok($ok); - }}}} + }}}}} }; subtest 'DTLS Version min/max tests' => sub { @@ -703,6 +704,7 @@ sub testssl { my $n = ((@protos+2) * (@protos+3))/2 - 2; my $ntests = $n * $n; plan tests => $ntests; + SKIP: { skip "DTLS disabled", 1 if $ntests == 1; my $should; @@ -736,7 +738,7 @@ sub testssl { print STDERR "\nFailed: @args\n"; } ok($ok); - }}}} + }}}}} }; } |