From 2c80bcbc812d7906e84ea90bc351a85ebefbf910 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 20 Feb 2008 12:14:31 +0000 Subject: [PATCH] made the non-matching error code output nicer since we know it is a number and the string contains a newline... --- tests/runtests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runtests.pl b/tests/runtests.pl index 457b79d..a868b2c 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; -- 2.7.4