]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
fix enumeration of disabled tests when they have the highest number
authorYang Tse <yangsita@gmail.com>
Tue, 3 Apr 2007 15:59:52 +0000 (15:59 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 3 Apr 2007 15:59:52 +0000 (15:59 +0000)
tests/runtests.pl

index 144952249e7c18a88cfbf5d98f54e5034048176e..a6ba2012cd150bad9040fb118c79deb7224ec84e 100755 (executable)
@@ -2543,7 +2543,7 @@ if($skipped) {
         # now show all test case numbers that had this reason for being
         # skipped
         my $c=0;
-        for(0 .. $lasttest) {
+        for(0 .. scalar @teststat) {
             my $t = $_;
             if($teststat[$_] eq $r) {
                 logmsg ", " if($c);