diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runtests.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 5aeed7a2f..4ca2ef945 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; |