16 tests OK

This commit is contained in:
Daniel Stenberg
2002-02-22 15:40:17 +00:00
parent 85efa64c31
commit 417c8fb602
2 changed files with 22 additions and 5 deletions

View File

@@ -145,11 +145,18 @@ sub runhttpserver {
if ( $data =~ /WE ROOLZ(: |)(\d*)/ ) {
$pid = 0+$2;
if(!$pid) {
print "Test server already running with unkown pid! Use it...\n";
return;
}
if($verbose) {
print "Test server already running with pid $pid, killing it...\n";
}
}
elsif($data ne "") {
print "GOT: $data\n";
print "An alien HTTP server is running on port $HOSTPORT\n",
"Edit runtests.pl to use another port and rerun the test script\n";
exit;