From: Rafael Garcia-Suarez Date: Thu, 19 Aug 2004 07:58:59 +0000 (+0000) Subject: Mark a test that relies on tainting behavior as TODO on Windows. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=83176b6e7e89da2ccf0713207f5666901eb76192;p=p5sagit%2Fp5-mst-13.2.git Mark a test that relies on tainting behavior as TODO on Windows. p4raw-id: //depot/perl@23225 --- diff --git a/t/comp/opsubs.t b/t/comp/opsubs.t index c76ce3c..75c6012 100644 --- a/t/comp/opsubs.t +++ b/t/comp/opsubs.t @@ -60,7 +60,10 @@ is( &qw('amper'), "qw-amper", "&qw() is func" ); # qx operator can_ok( 'main', "qx" ); eval "qx('unqualified')"; -like( $@, qr/^Insecure/, "qx('unqualified') doesn't work" ); +TODO: { + local $TODO = $^O eq 'MSWin32' ? "Tainting of PATH not working of Windows" : $TODO; + like( $@, qr/^Insecure/, "qx('unqualified') doesn't work" ); +} is( main::qx('main'), "qx-main", "main::qx() is func" ); is( &qx('amper'), "qx-amper", "&qx() is func" );