aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-08 07:51:00 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-08 07:51:00 +0000
commitd6ccc33dec84bc7d9467192c1cbbbc4488656bbb (patch)
tree29caecb8e33ce13f4337024049877be587b24b39 /tests
parent1b2f4031e1188c265bc7a453a5965a7a18323163 (diff)
when a test expects an error code but gets a different one, we now output
both of them
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 d2132c325..2c9a4bfc7 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -517,7 +517,7 @@ sub singletest {
}
else {
if(!$short) {
- print "curl returned $res\n";
+ print "curl returned $res, ".(0+$errorcode)." was expected\n";
}
print " error FAILED\n";
return 1;