introducing the client/precheck concept to allow test 518 to *only* run when
it actually can run and test the FD_SETSIZE stuff it is meant to test
This commit is contained in:
@@ -888,6 +888,21 @@ sub singletest {
|
||||
$serverproblem = serverfortest($testnum);
|
||||
}
|
||||
|
||||
if(!$serverproblem) {
|
||||
my @precheck = getpart("client", "precheck");
|
||||
my $cmd = $precheck[0];
|
||||
chomp $cmd;
|
||||
if($cmd) {
|
||||
my @o = `$cmd 2>/dev/null`;
|
||||
if($o[0]) {
|
||||
$serverproblem = 15;
|
||||
$why = $o[0];
|
||||
chomp $why;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if($serverproblem) {
|
||||
# there's a problem with the server, don't run
|
||||
# this particular server, but count it as "skipped"
|
||||
|
||||
Reference in New Issue
Block a user