aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorjake%acutex.net <>2009-03-01 04:03:08 +0000
committerjake%acutex.net <>2009-03-01 04:03:08 +0000
commit95afe7247cd9ae3fad2a783056a5484d5e9ae947 (patch)
tree94a3398268ca8a0160b16d448e92cc43063fd432 /t
parentyet another meaningless whitespace change to test tinderbox with (diff)
downloadbugzilla-95afe7247cd9ae3fad2a783056a5484d5e9ae947.tar.gz
bugzilla-95afe7247cd9ae3fad2a783056a5484d5e9ae947.tar.bz2
bugzilla-95afe7247cd9ae3fad2a783056a5484d5e9ae947.zip
Bug 103664 - Tests should "use strict;" and not contain any tabs. We should also use the TEST_VERBOSE environment variable instead of VERBOSE.
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.
Diffstat (limited to 't')
-rw-r--r--t/005whitespace.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/005whitespace.t b/t/005whitespace.t
index fef0bf72c..66b2af5d6 100644
--- a/t/005whitespace.t
+++ b/t/005whitespace.t
@@ -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");