diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-08-08 07:51:00 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-08-08 07:51:00 +0000 |
commit | d6ccc33dec84bc7d9467192c1cbbbc4488656bbb (patch) | |
tree | 29caecb8e33ce13f4337024049877be587b24b39 | |
parent | 1b2f4031e1188c265bc7a453a5965a7a18323163 (diff) |
when a test expects an error code but gets a different one, we now output
both of them
-rwxr-xr-x | tests/runtests.pl | 2 |
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; |