summaryrefslogtreecommitdiff
path: root/test/zlib/test_zlib.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/zlib/test_zlib.rb')
-rw-r--r--test/zlib/test_zlib.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb
index 83ce37572e..af3578a0ee 100644
--- a/test/zlib/test_zlib.rb
+++ b/test/zlib/test_zlib.rb
@@ -743,6 +743,12 @@ if defined? Zlib
gz0.close
gz1.close
end
+ rescue Errno::EINVAL
+ skip 'O_TMPFILE not supported (EINVAL)'
+ rescue Errno::EISDIR
+ skip 'O_TMPFILE not supported (EISDIR)'
+ rescue Errno::EOPNOTSUPP
+ skip 'O_TMPFILE not supported (EOPNOTSUPP)'
end
end
end