From: Daniel Stenberg Date: Fri, 30 Aug 2002 10:50:22 +0000 (+0000) Subject: show return code when run verbose X-Git-Tag: upstream/7.37.1~15290 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=713cb56fea8a6339576742063bc743a6625d3b47;p=platform%2Fupstream%2Fcurl.git show return code when run verbose --- 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"; } }