]> git.vpit.fr Git - perl/modules/indirect.git/commitdiff
Disable taint mode for t/30-scope.t
authorVincent Pit <vince@profvince.com>
Sat, 24 Apr 2010 12:50:35 +0000 (14:50 +0200)
committerVincent Pit <vince@profvince.com>
Sat, 24 Apr 2010 12:50:35 +0000 (14:50 +0200)
It prevents a regression test from failing with the old code.

t/30-scope.t

index a63bf04c012eadd15f1a1191f88fc86853ef2f0b..956b71ed684fa1e66021d9441ff39cdd6e782848 100644 (file)
@@ -1,4 +1,4 @@
-#!perl -T
+#!perl
 
 use strict;
 use warnings;
 
 use strict;
 use warnings;
@@ -153,6 +153,7 @@ sub expect {
  is $@, '', 'RT #47902';
 }
 
  is $@, '', 'RT #47902';
 }
 
+# This test may not fail for the old version when ran in taint mode
 {
  my $err = eval <<' SNIP';
   use indirect::TestRequired4::a0;
 {
  my $err = eval <<' SNIP';
   use indirect::TestRequired4::a0;