X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2Flocal-lib.git;a=blobdiff_plain;f=t%2Ftaint-mode.t;h=3561e0c7d70c75748b88520caae77325420b7ddb;hp=d4f773aefd58f9c99fb55ac5ec5c2e4eb44c8fe1;hb=076f72d98a2d019b81af342fe9689d4ab7b90007;hpb=5da9706a04aec9da59a228cabbb3ac78b962a480 diff --git a/t/taint-mode.t b/t/taint-mode.t index d4f773a..3561e0c 100644 --- a/t/taint-mode.t +++ b/t/taint-mode.t @@ -22,12 +22,16 @@ local::lib->import($dir1); # local lib to the same temp dir. my ($fh, $filename) = tempfile('test_local_lib-XXXXX', DIR => Cwd::abs_path('t'), UNLINK => 1); +# escape backlslashes for embedding into generated script +$dir1 =~ s/\\/\\\\/g; + print $fh <