This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
consolidated VMS patches (from Craig A. Berry
[perl5.git] / t / io / openpid.t
index fc71e7a..80c6bde 100755 (executable)
@@ -78,9 +78,8 @@ print "ok 8\n";
 # send one expected line of text to child process and then wait for it
 autoflush FH4 1;
 print FH4 "ok 9\n";
+print "ok 9 # skip VMS\n" if $^O eq 'VMS';
 print "# waiting for process $pid4 to exit\n";
-#VMS: Send an EOF to convince the subprocess to exit as well
-if ($^O eq 'VMS') { require VMS::Stdio; VMS::Stdio::writeof(FH4); }
 $reap_pid = waitpid $pid4, 0;
 print "# reaped pid $reap_pid != $pid4\nnot "
     unless $reap_pid == $pid4;