]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch for bug 216572: 002goodperl.t shouldn't add an extra test for every additional...
authorjocuri%softhome.net <>
Sat, 28 Aug 2004 15:17:21 +0000 (15:17 +0000)
committerjocuri%softhome.net <>
Sat, 28 Aug 2004 15:17:21 +0000 (15:17 +0000)
t/002goodperl.t

index 92a01fc2d19f7e85d5c5e11c9c043ed62f70e1d9..676cd177632744a6e8ac3a6803dbc487dde859cb 100644 (file)
@@ -107,7 +107,7 @@ foreach my $file (@testitems) {
     my $lineno = 0;
     my $error = 0;
     
-    while (my $file_line = <FILE>) {
+    while (!$error && (my $file_line = <FILE>)) {
         $lineno++;
         if ($file_line =~ /Throw.*Error\("(.*?)"/) {
             if ($1 =~ /\s/) {