]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - t/22-bad-fatal.t
Add PERL5OPT to the flags passed to the forked perls
[perl/modules/indirect.git] / t / 22-bad-fatal.t
index e374a8df8cd0fcf01fd88d2ab182e83b30c0cbf9..d87fbb66717664f3b7c1e876594ad631472a4cc8 100644 (file)
@@ -11,6 +11,7 @@ use IPC::Cmd qw/run/;
  = run command => [
           $^X,
           map('-I' . $_, @INC),
+          $ENV{PERL5OPT} || '',
           '-M-indirect=:fatal',
           '-c',
           't/data/bad.d'