From 713cb56fea8a6339576742063bc743a6625d3b47 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 30 Aug 2002 10:50:22 +0000 Subject: [PATCH] show return code when run verbose --- tests/runtests.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"; } }