aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl2
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;
}