# it is NOT alive
print "RUN: failed to start the HTTP server!\n";
stopservers($verbose);
- exit;
+ return (0,0);
}
# Server is up. Verify that we can speak to it.
# it is NOT alive
print "RUN: failed to start the HTTPS server!\n";
stopservers($verbose);
- exit;
+ return(0,0);
}
# Server is up. Verify that we can speak to it.
if(!$filename) {
print "ERROR: section client=>file has no name attribute!\n";
- exit;
+ return -1;
}
my $fileContent = join('', @inputfile);
subVariables \$fileContent;
print "perl: $code\n";
print "precommand: $@";
stopservers($verbose);
- exit;
+ return -1;
}
}
if(!$filename) {
print "ERROR: section verify=>file has no name attribute!\n";
stopservers($verbose);
- exit;
+ return -1;
}
my $filemode=$hash{'mode'};