diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-04-29 22:53:00 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-04-29 22:53:00 +0000 |
commit | c25c5c3c87d89b68324dc98b7c8aaabc750c7cec (patch) | |
tree | 2943af9b1f84d88d863a9ba36a234877561bf5f0 /gnu/usr.bin/perl/t/lib/io_pipe.t | |
parent | 37583d269f066aa8aa04ea18126b188d12257e6d (diff) |
perl5.005_03 (stock)
Diffstat (limited to 'gnu/usr.bin/perl/t/lib/io_pipe.t')
-rw-r--r-- | gnu/usr.bin/perl/t/lib/io_pipe.t | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/t/lib/io_pipe.t b/gnu/usr.bin/perl/t/lib/io_pipe.t index eee374149ca..e617c92432f 100644 --- a/gnu/usr.bin/perl/t/lib/io_pipe.t +++ b/gnu/usr.bin/perl/t/lib/io_pipe.t @@ -41,6 +41,13 @@ print $pipe "not ok 3\n" ; $pipe->close or print "# \$!=$!\nnot "; print "ok 4\n"; +# Check if can fork with dynamic extensions (bug in CRT): +if ($^O eq 'os2' and + system "$^X -I../lib -MOpcode -e 'defined fork or die' > /dev/null 2>&1") { + print "ok $_ # skipped: broken fork\n" for 5..10; + exit 0; +} + $pipe = new IO::Pipe; $pid = fork(); @@ -104,6 +111,7 @@ sub broken_pipe { print $pipe "not ok 9\n"; $pipe->close; +sleep 1; print "ok 10\n"; |