From: Yang Tse Date: Tue, 3 Apr 2007 15:59:52 +0000 (+0000) Subject: fix enumeration of disabled tests when they have the highest number X-Git-Tag: curl-7_16_2~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3344142b87627949e6fceee02041699f98b7ad9f;p=thirdparty%2Fcurl.git fix enumeration of disabled tests when they have the highest number --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 144952249e..a6ba2012cd 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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);