summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-10-26 23:35:55 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-10-26 23:37:19 -0700
commit4218a421ca4ecaf9f1ccecfe21ebd15cbf499059 (patch)
tree4e61bc6377a94459b155540e4a590ad1e190b025
parentabace7e53f3b3d7bcaf0e795af8ab8b28f9e29a5 (diff)
downloadperl-4218a421ca4ecaf9f1ccecfe21ebd15cbf499059.tar.gz
Skip <~> test on VMS
-rw-r--r--t/op/glob.t13
1 files changed, 8 insertions, 5 deletions
diff --git a/t/op/glob.t b/t/op/glob.t
index 3c64353736..f122fa9d28 100644
--- a/t/op/glob.t
+++ b/t/op/glob.t
@@ -95,11 +95,14 @@ SKIP: {
cmp_ok(scalar(@oops),'>',0,'glob globbed something');
-# This test exists mainly for miniperl, to test that external calls to
-# csh, which clear %ENV first, leave $ENV{HOME}.
-# On Windows, external glob uses File::DosGlob which returns "~", so this
-# should pass anyway.
-ok <~>, '~ works';
+SKIP: {
+ skip "~ globbing returns nothing on VMS", 1 if $^O eq 'VMS';
+ # This test exists mainly for miniperl, to test that external calls to
+ # csh, which clear %ENV first, leave $ENV{HOME}.
+ # On Windows, external glob uses File::DosGlob which returns "~", so
+ # this should pass anyway.
+ ok <~>, '~ works';
+}
{
my $called;