From: Yang Tse Date: Mon, 11 May 2009 01:16:28 +0000 (+0000) Subject: Fix name of tool shown upon error. X-Git-Tag: upstream/7.37.1~6255 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75585f771a146daa883cd946285eb6a797e62e5e;p=platform%2Fupstream%2Fcurl.git Fix name of tool shown upon error. --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 5aeed7a..4ca2ef9 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -2370,7 +2370,8 @@ sub singletest { } else { if(!$short) { - printf "\ncurl returned $cmdres, %d was expected\n", $errorcode; + printf("\n%s returned $cmdres, %d was expected\n", + (!$tool)?"curl":$tool, $errorcode); } logmsg " exit FAILED\n"; return 1;