From: Daniel Stenberg Date: Wed, 20 Feb 2008 12:14:31 +0000 (+0000) Subject: made the non-matching error code output nicer since we know it is a number X-Git-Tag: curl-7_18_1~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c80bcbc812d7906e84ea90bc351a85ebefbf910;p=curl made the non-matching error code output nicer since we know it is a number and the string contains a newline... --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 457b79d2a..a868b2c3a 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -2318,7 +2318,7 @@ sub singletest { } else { if(!$short) { - printf "\ncurl returned $cmdres, %s was expected\n", $errorcode; + printf "\ncurl returned $cmdres, %d was expected\n", $errorcode; } logmsg " exit FAILED\n"; return 1;