aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-01-15 09:21:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-01-15 09:21:51 +0000
commitcf51f7fb65ad68cacc05e451c6a113f7c84c2da6 (patch)
tree4598d40aff92b6dbea9692a94bf6a5d8e2923116
parent4d1f3d3cd05569b0bd8ed43ed14ef691935c7f0c (diff)
output better error detection, like when ipv6 can't resolve
-rwxr-xr-xtests/runtests.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index db06ec53f..111f3e116 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -375,6 +375,11 @@ sub runhttpserver {
if ( $data =~ /WE ROOLZ: (\d+)/ ) {
$pid = 0+$1;
}
+ elsif($res == 6) {
+ # curl: (6) Couldn't resolve host '::1'
+ print "RUN: failed to resolve host\n";
+ return -3;
+ }
elsif($data || ($res != 7)) {
print "RUN: Unknown server is running on port $port\n";
return -2;