projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e295cd7
)
When trying to see if there's a friendly http server on "our" port, we
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 20 Feb 2004 06:59:17 +0000
(06:59 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 20 Feb 2004 06:59:17 +0000
(06:59 +0000)
only accept return code 7 to indicate that there's no server present.
tests/runtests.pl
patch
|
blob
|
history
diff --git
a/tests/runtests.pl
b/tests/runtests.pl
index
f0ca996
..
ffab484
100755
(executable)
--- 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;
}