diff options
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-x | tests/runtests.pl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 9ac7e3b5d..5c7e4ab08 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -930,6 +930,27 @@ sub serverfortest { } return 100; } + + my @what = getpart("client", "features"); + + for(@what) { + my $f = $_; + + $f =~ s/\s//g; + + print STDERR "CHECK FOR $f\n"; + + if($f eq "SSL") { + if($ssl_version) { + last; + } + } + + warn "Test case $testnum requires the missing feature: $_"; + return 100; + } + + my @what = getpart("client", "server"); if(!$what[0]) { |