]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - t/80-regressions.t
Make sure PERL_INDIRECT_PM_DISABLE is not set before running tests
[perl/modules/indirect.git] / t / 80-regressions.t
index 7d05c823bb941ba2696c64243b54e91189dc5e20..19a66938aaeb0bfa8ac3ad38048bdd696229d433 100644 (file)
@@ -5,6 +5,8 @@ use warnings;
 
 use Test::More tests => 1;
 
+BEGIN { delete $ENV{PERL_INDIRECT_PM_DISABLE} }
+
 sub run_perl {
  my $code = shift;
 
@@ -13,6 +15,6 @@ sub run_perl {
 }
 
 {
- my $status = run_perl 'no indirect; print "a\x{100}b" =~ /\A[\x00-\x7f]*\z/;';
+ my $status = run_perl 'no indirect; qq{a\x{100}b} =~ /\A[\x00-\x7f]*\z/;';
  is $status, 0, 'RT #47866';
 }