From: Todd Short Date: Mon, 25 Jan 2016 17:44:15 +0000 (-0500) Subject: RT4272: Unit tests fail when DTLS disabled X-Git-Tag: OpenSSL_1_1_0-pre3~410 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=835894d1383ac23b910d581144c35214591a445a;hp=aa50e2a39d9e9ec3226d0b33feaf98198e779d47 RT4272: Unit tests fail when DTLS disabled Missing SKIP: block in SSL unit tests for DTLS and TLS version tests. Reviewed-by: Matt Caswell Reviewed-by: Richard Levitte --- 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); - }}}} + }}}}} }; }