From cf51f7fb65ad68cacc05e451c6a113f7c84c2da6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 15 Jan 2005 09:21:51 +0000 Subject: output better error detection, like when ipv6 can't resolve --- tests/runtests.pl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') 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; -- cgit v1.2.3