From 95afe7247cd9ae3fad2a783056a5484d5e9ae947 Mon Sep 17 00:00:00 2001 From: "jake%acutex.net" <> Date: Sun, 1 Mar 2009 04:03:08 +0000 Subject: 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 Additional edits by myself to add the emacs mode line. Also, the change to runtests.sh was done by me. --- t/005whitespace.t | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 't/005whitespace.t') 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"); -- cgit v1.2.3-24-g4f1b