From d6ccc33dec84bc7d9467192c1cbbbc4488656bbb Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 8 Aug 2001 07:51:00 +0000 Subject: when a test expects an error code but gets a different one, we now output both of them --- tests/runtests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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; -- cgit v1.2.3