projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT4272: Unit tests fail when DTLS disabled
[openssl.git]
/
test
/
recipes
/
80-test_ssl.t
diff --git
a/test/recipes/80-test_ssl.t
b/test/recipes/80-test_ssl.t
index e7472a208b9d0566b6f1063f012c92a2d5250820..d0bb79a8d37435da43d5262bda67e31e1ad33594 100644
(file)
--- 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;
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;
skip "TLS disabled", 1 if $ntests == 1;
my $should;
@@
-690,7
+691,7
@@
sub testssl {
print STDERR "\nFailed: @args\n";
}
ok($ok);
print STDERR "\nFailed: @args\n";
}
ok($ok);
- }}}}
+ }}}}
}
};
subtest 'DTLS Version min/max tests' => sub {
};
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;
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;
skip "DTLS disabled", 1 if $ntests == 1;
my $should;
@@
-736,7
+738,7
@@
sub testssl {
print STDERR "\nFailed: @args\n";
}
ok($ok);
print STDERR "\nFailed: @args\n";
}
ok($ok);
- }}}}
+ }}}}
}
};
}
};
}