]> granicus.if.org Git - curl/commitdiff
show return code when run verbose
authorDaniel Stenberg <daniel@haxx.se>
Fri, 30 Aug 2002 10:50:22 +0000 (10:50 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 30 Aug 2002 10:50:22 +0000 (10:50 +0000)
tests/runtests.pl

index e9e5049aaf3dca5d0f22a772abfb238dd382ae9c..d0061cb0cb9c69d56bb3d6d04edb8dc3f087997c 100755 (executable)
@@ -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";
             }
         }