diff options
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-x | tests/runtests.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 795759544..36f39a7b7 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -4122,10 +4122,10 @@ sub singletest { } } - if(($out[0] eq "") && $protstrip[0]) { + if((!$out[0] || ($out[0] eq "")) && $protstrip[0]) { logmsg "\n $testnum: protocol FAILED!\n". " There was no content at all in the file $SERVERIN.\n". - " Server glitch? Total curl failure?\n"; + " Server glitch? Total curl failure? Returned: $cmdres\n"; return $errorreturncode; } |