summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/io/pipe.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/io/pipe.t b/t/io/pipe.t
index 21f02a789a..ac149810ec 100755
--- a/t/io/pipe.t
+++ b/t/io/pipe.t
@@ -74,9 +74,10 @@ if ($^O eq 'VMS') {
exit;
}
-if ($Config{d_sfio}) {
+if ($Config{d_sfio} || $^O eq machten) {
# Sfio doesn't report failure when closing a broken pipe
- # that has pending output. Go figure.
+ # that has pending output. Go figure. MachTen doesn't either,
+ # but won't write to broken pipes, so nothing's pending at close.
print "ok 9\n";
}
else {