]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
runtests.pl: Pad test case numbers with up to three zeroes
authorFabian Keil <fk@fabiankeil.de>
Sun, 27 Jul 2014 10:14:50 +0000 (12:14 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 7 Aug 2014 08:17:25 +0000 (10:17 +0200)
Test case numbers with four digits have been available for a
while now.

tests/runtests.pl

index d0410649dd0c97d61752013e922e8aa08c3f3fb0..f52678c498433a713c21adac2acc014ab2a254d3 100755 (executable)
@@ -3113,14 +3113,14 @@ sub singletest {
         if(!$short) {
             if($skipped{$why} <= 3) {
                 # show only the first three skips for each reason
-                logmsg sprintf("test %03d SKIPPED: $why\n", $testnum);
+                logmsg sprintf("test %04d SKIPPED: $why\n", $testnum);
             }
         }
 
         timestampskippedevents($testnum);
         return -1;
     }
-    logmsg sprintf("test %03d...", $testnum) if(!$automakestyle);
+    logmsg sprintf("test %04d...", $testnum) if(!$automakestyle);
 
     # extract the reply data
     my @reply = getpart("reply", "data");