aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-08-30 10:50:22 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-08-30 10:50:22 +0000
commit713cb56fea8a6339576742063bc743a6625d3b47 (patch)
tree6563a7cbb379cfd15d87265515fd5a7220cf5da2 /tests
parentbd3bb70ee8e4f92d889699a34fa32eb525bf8565 (diff)
show return code when run verbose
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl6
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";
}
}