projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a9f350
)
Fix name of tool shown upon error.
author
Yang Tse
<yangsita@gmail.com>
Mon, 11 May 2009 01:16:28 +0000
(
01:16
+0000)
committer
Yang Tse
<yangsita@gmail.com>
Mon, 11 May 2009 01:16:28 +0000
(
01:16
+0000)
tests/runtests.pl
patch
|
blob
|
history
diff --git
a/tests/runtests.pl
b/tests/runtests.pl
index
5aeed7a
..
4ca2ef9
100755
(executable)
--- 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;