mirror of
https://github.com/curl/curl.git
synced 2026-07-31 01:48:03 +03:00
16 tests OK
This commit is contained in:
parent
85efa64c31
commit
417c8fb602
2 changed files with 22 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue