This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[patch@34016] VMS passes these t/io/open.t tests now.
authorJohn E. Malmberg <wb8tyw@qsl.net>
Tue, 10 Jun 2008 23:17:46 +0000 (18:17 -0500)
committerNicholas Clark <nick@ccl4.org>
Wed, 11 Jun 2008 17:40:25 +0000 (17:40 +0000)
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <484F51EA.6050005@qsl.net>
Date: Tue, 10 Jun 2008 23:17:46 -0500

p4raw-id: //depot/perl@34042

t/io/open.t

index f08eed5..68b828a 100755 (executable)
@@ -9,7 +9,6 @@ BEGIN {
 $|  = 1;
 use warnings;
 use Config;
-$Is_VMS = $^O eq 'VMS';
 $Is_MacOS = $^O eq 'MacOS';
 
 plan tests => 108;
@@ -75,10 +74,7 @@ my $Perl = which_perl();
 
     unlink("afile");
 }
-
-SKIP: {
-    skip "open -| busted and noisy on VMS", 3 if $Is_VMS;
-
+{
     ok( open(my $f, '-|', <<EOC),     'open -|' );
     $Perl -e "print qq(a row\\n); print qq(another row\\n)"
 EOC
@@ -87,7 +83,6 @@ EOC
     is( scalar @rows, 2,                '       readline, list context' );
     ok( close($f),                      '       close' );
 }
-
 SKIP: {
     skip "Output for |- doesn't go to shell on MacOS", 5 if $Is_MacOS;
 
@@ -171,9 +166,7 @@ ok( -s 'afile' < 20,                '       -s' );
     unlink("afile");
 }
 
-SKIP: {
-    skip "open -| busted and noisy on VMS", 3 if $Is_VMS;
-
+{
     ok( open(local $f, '-|', <<EOC),  'open local $f, "-|", ...' );
     $Perl -e "print qq(a row\\n); print qq(another row\\n)"
 EOC