C++: Solaris CC now compiles "perl"
[p5sagit/p5-mst-13.2.git] / t / comp / opsubs.t
index 75c6012..3faca21 100644 (file)
@@ -59,10 +59,14 @@ is( &qw('amper'), "qw-amper", "&qw() is func" );
 
 # qx operator
 can_ok( 'main', "qx" );
-eval "qx('unqualified')";
-TODO: {
-    local $TODO = $^O eq 'MSWin32' ? "Tainting of PATH not working of Windows" : $TODO;
-    like( $@, qr/^Insecure/, "qx('unqualified') doesn't work" );
+eval "qx('unqualified'".
+     ($^O eq 'MSWin32' ? " 2>&1)" : ")");
+SKIP: {
+    skip("external command not portable on VMS", 1) if $^O eq 'VMS';
+    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" );