diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-20 06:59:17 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-20 06:59:17 +0000 |
commit | 7ac455fca387526ae2aec6149b6eecb216916f6c (patch) | |
tree | 9e0cdc877dafdfeaae9dc0f0cd4e13b8c802697d /tests | |
parent | e295cd759c69ef1fcc61cffe04895c70f4a37f67 (diff) |
When trying to see if there's a friendly http server on "our" port, we
only accept return code 7 to indicate that there's no server present.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runtests.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index f0ca9963c..ffab484cb 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -338,7 +338,7 @@ sub runhttpserver { if ( $data =~ /WE ROOLZ: (\d+)/ ) { $pid = 0+$1; } - elsif($data) { + elsif($data || ($res != 7)) { print "RUN: Unknown HTTP server is running on port $HOSTPORT\n"; return -2; } |