aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-02-20 12:14:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-02-20 12:14:31 +0000
commit2c80bcbc812d7906e84ea90bc351a85ebefbf910 (patch)
treefd4f9f57c1e727cdde515cf7e1edbe16c293bf6c /tests
parentb60dbfa9e996ae032391020bfa4983ca1e36e2d4 (diff)
made the non-matching error code output nicer since we know it is a number
and the string contains a newline...
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
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;