]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 103664 - Tests should "use strict;" and not contain any tabs. We should also...
authorjake%acutex.net <>
Sun, 1 Mar 2009 04:03:08 +0000 (04:03 +0000)
committerjake%acutex.net <>
Sun, 1 Mar 2009 04:03:08 +0000 (04:03 +0000)
Patch by David D. Kilzer <ddkilzer@theracingworld.com>
Additional edits by myself to add the emacs mode line.  Also, the change to runtests.sh was done by me.

t/005whitespace.t

index fef0bf72ceccf57c91e553b98f5fcc2e955ad963..66b2af5d613ea499c94522eb4a369b3901b4dded 100644 (file)
@@ -21,7 +21,7 @@
 #
 
 #################
-#Bugzilla Test 4#
+#Bugzilla Test 5#
 #####no_tabs#####
 
 BEGIN { use lib "t/"; }
@@ -29,8 +29,10 @@ BEGIN { use Support::Files; }
 BEGIN { $tests = @Support::Files::testitems; }
 BEGIN { use Test::More tests => $tests; }
 
+use strict;
+
 my @testitems = @Support::Files::testitems;
-my $verbose = $::ENV{VERBOSE};
+my $verbose = $::ENV{TEST_VERBOSE};
 
 foreach my $file (@testitems) {
     open (FILE, "$file");