summaryrefslogtreecommitdiff
path: root/t/io
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-10-23 14:04:51 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1998-10-23 14:04:51 +0000
commite5e1b98b7a55f8984e74bbc5d6484d24ab6375fa (patch)
tree2b46fbb00458031e1ab1628d5dfc5a46dfbbd679 /t/io
parentd5047e5685a6d509cc9a4660c26c3d2a0bc7afe6 (diff)
downloadperl-e5e1b98b7a55f8984e74bbc5d6484d24ab6375fa.tar.gz
Test suite portability:
- posix-bc does not write to broken pipes - filehand #11 only iff we have fork - warning.t can now match $expected using regular expressions p4raw-id: //depot/cfgperl@2037
Diffstat (limited to 't/io')
-rwxr-xr-xt/io/pipe.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/io/pipe.t b/t/io/pipe.t
index fc3c0e5221..d89bad8c4f 100755
--- a/t/io/pipe.t
+++ b/t/io/pipe.t
@@ -89,11 +89,12 @@ if ($^O eq 'VMS') {
exit;
}
-if ($Config{d_sfio} || $^O eq machten || $^O eq beos) {
+if ($Config{d_sfio} || $^O eq 'machten' || $^O eq 'beos' || $^O eq 'posix-bc') {
# Sfio doesn't report failure when closing a broken pipe
# that has pending output. Go figure. MachTen doesn't either,
# but won't write to broken pipes, so nothing's pending at close.
# BeOS will not write to broken pipes, either.
+ # Nor does POSIX-BC.
print "ok 9\n";
}
else {