1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

when a test expects an error code but gets a different one, we now output

both of them
This commit is contained in:
Daniel Stenberg 2001-08-08 07:51:00 +00:00
parent 1b2f4031e1
commit d6ccc33dec

View File

@ -517,7 +517,7 @@ sub singletest {
} }
else { else {
if(!$short) { if(!$short) {
print "curl returned $res\n"; print "curl returned $res, ".(0+$errorcode)." was expected\n";
} }
print " error FAILED\n"; print " error FAILED\n";
return 1; return 1;