Mark a test that relies on tainting behavior as TODO on Windows.
Rafael Garcia-Suarez [Thu, 19 Aug 2004 07:58:59 +0000 (07:58 +0000)]
p4raw-id: //depot/perl@23225

t/comp/opsubs.t

index c76ce3c..75c6012 100644 (file)
@@ -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" );