From: Rafael Garcia-Suarez Date: Fri, 24 Feb 2006 12:52:01 +0000 (+0000) Subject: Skip unportable test on VMS X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9994ed7c9a8f3f1f092069779eeb61c285795c41;p=p5sagit%2Fp5-mst-13.2.git Skip unportable test on VMS p4raw-id: //depot/perl@27309 --- diff --git a/t/comp/opsubs.t b/t/comp/opsubs.t index 75c6012..0bbe099 100644 --- a/t/comp/opsubs.t +++ b/t/comp/opsubs.t @@ -60,9 +60,12 @@ 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" ); +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" );