summaryrefslogtreecommitdiffstats
path: root/t/005no_tabs.t
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-10-20 07:39:46 +0200
committerjake%acutex.net <>2001-10-20 07:39:46 +0200
commited4af4249961a69449820e27b0baaf5116142b9e (patch)
tree09425865e2c77171faec1a1a66d2210b7dc6fdf7 /t/005no_tabs.t
parentb929c22527a9f97d4e03937d255542dfb5384f02 (diff)
downloadbugzilla-ed4af4249961a69449820e27b0baaf5116142b9e.tar.gz
bugzilla-ed4af4249961a69449820e27b0baaf5116142b9e.tar.xz
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/005no_tabs.t')
-rw-r--r--t/005no_tabs.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/005no_tabs.t b/t/005no_tabs.t
index fef0bf72c..66b2af5d6 100644
--- a/t/005no_tabs.t
+++ b/t/005no_tabs.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");