diff options
author | Charles Bailey <bailey@newman.upenn.edu> | 2000-02-28 00:00:08 +0000 |
---|---|---|
committer | bailey <bailey@newman.upenn.edu> | 2000-02-28 00:00:08 +0000 |
commit | 340465361a0007175411aaaa64455dcdc736f3a1 (patch) | |
tree | 8b1a0dc7fb794f5496d6d3bde1910e9a2920436a /t/io | |
parent | 2512681bdbf12f76d592243ee177aae83c6bb3d3 (diff) | |
download | perl-340465361a0007175411aaaa64455dcdc736f3a1.tar.gz |
Quote command line args which need to be upper case
Tell subprocess we're finished before waiting for it
p4raw-id: //depot/vmsperl@5297
Diffstat (limited to 't/io')
-rwxr-xr-x | t/io/openpid.t | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/t/io/openpid.t b/t/io/openpid.t index 0e8b934e51..fca7fcf8cb 100755 --- a/t/io/openpid.t +++ b/t/io/openpid.t @@ -24,7 +24,7 @@ $SIG{PIPE} = 'IGNORE'; print "1..10\n"; -$perl = "$^X -I../lib"; +$perl = qq[$^X "-I../lib"]; # # commands run 4 perl programs. Two of these programs write a @@ -79,7 +79,9 @@ print "ok 8\n"; autoflush FH4 1; print FH4 "ok 9\n"; print "# waiting for process $pid4 to exit\n"; +#VMS: Send an EOF to convince the subprocess to exit as well +if ($^O eq 'VMS') { use VMS::Stdio qw(&writeof); writeof(FH4); } $reap_pid = waitpid $pid4, 0; print "# reaped pid $reap_pid != $pid4\nnot " - unless $reap_pid == $pid4; + unless $reap_pid == $pid4; print "ok 10\n"; |