From: Daniel Stenberg Date: Wed, 8 Aug 2001 07:51:00 +0000 (+0000) Subject: when a test expects an error code but gets a different one, we now output X-Git-Tag: curl-7_8_1~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6ccc33dec84bc7d9467192c1cbbbc4488656bbb;p=curl when a test expects an error code but gets a different one, we now output both of them --- diff --git a/tests/runtests.pl b/tests/runtests.pl index d2132c325..2c9a4bfc7 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -517,7 +517,7 @@ sub singletest { } else { if(!$short) { - print "curl returned $res\n"; + print "curl returned $res, ".(0+$errorcode)." was expected\n"; } print " error FAILED\n"; return 1;