summaryrefslogtreecommitdiff
path: root/t/run/switches.t
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2009-07-18 10:38:02 -0500
committerCraig A. Berry <craigberry@mac.com>2009-07-18 10:38:02 -0500
commit3012b81707473847efa9174655723b1a2ad3b6de (patch)
treea3e742cf7838e8ad68873b8fc09d3d68d8422a88 /t/run/switches.t
parentc456aab3e6e7b564c1fc0b18560485446780fa95 (diff)
downloadperl-3012b81707473847efa9174655723b1a2ad3b6de.tar.gz
Some of the TODOs in switches.t actually work on VMS.
Diffstat (limited to 't/run/switches.t')
-rw-r--r--t/run/switches.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/run/switches.t b/t/run/switches.t
index 839a860864..57998ddeda 100644
--- a/t/run/switches.t
+++ b/t/run/switches.t
@@ -193,6 +193,9 @@ SWTESTPM
is( $r, "<$package><foo><bar>", '-m with import parameters' );
push @tmpfiles, $filename;
+ {
+ local $TODO = ''; # these work on VMS
+
is( runperl( switches => [ '-MTie::Hash' ], stderr => 1, prog => 1 ),
'', "-MFoo::Bar allowed" );
@@ -220,6 +223,7 @@ SWTESTPM
prog => 'die "oops"' ),
qr/Module name required with -M option\b/,
"-M- not allowed" );
+ } # disable TODO on VMS
}
# Tests for -V
@@ -330,6 +334,8 @@ __EOF__
# Tests for -E
+$TODO = ''; # the -E tests work on VMS
+
$r = runperl(
switches => [ '-E', '"say q(Hello, world!)"']
);