diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-08-30 10:50:22 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-08-30 10:50:22 +0000 |
commit | 713cb56fea8a6339576742063bc743a6625d3b47 (patch) | |
tree | 6563a7cbb379cfd15d87265515fd5a7220cf5da2 | |
parent | bd3bb70ee8e4f92d889699a34fa32eb525bf8565 (diff) |
show return code when run verbose
-rwxr-xr-x | tests/runtests.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index e9e5049aa..d0061cb0c 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -621,7 +621,11 @@ sub singletest { if($errorcode || $res) { if($errorcode == $res) { - if(!$short) { + $errorcode =~ s/\n//; + if($verbose) { + print " received errorcode $errorcode OK"; + } + elsif(!$short) { print " error OK"; } } |