Loading tests/FILEFORMAT +6 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,12 @@ future all test cases should use this. Makes us independent of the test case number. </server> <features> A list of features that must be present in the client/library for this test to be able to run. Features testable here are: SSL </features> <killserver> Using the same syntax as in <server> but when mentioned here these servers are explicitly KILLED when this test case is completed. Only use this if there Loading tests/runtests.pl +21 −0 Original line number Diff line number Diff line Loading @@ -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]) { Loading Loading
tests/FILEFORMAT +6 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,12 @@ future all test cases should use this. Makes us independent of the test case number. </server> <features> A list of features that must be present in the client/library for this test to be able to run. Features testable here are: SSL </features> <killserver> Using the same syntax as in <server> but when mentioned here these servers are explicitly KILLED when this test case is completed. Only use this if there Loading
tests/runtests.pl +21 −0 Original line number Diff line number Diff line Loading @@ -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]) { Loading