diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-04-20 19:45:01 +0900 |
---|---|---|
committer | git <[email protected]> | 2024-04-20 10:53:41 +0000 |
commit | 2b11bcb84ec0e9326ce03a2ec8f0ed2ee349d3c1 () | |
tree | 99f784ec037258d3d254190b71935fb91ec85aaa | |
parent | af169472c791c1ed97f8e4397c0b8628dc6a6c50 (diff) |
[ruby/zlib] Clear temporary directory
https://.com/ruby/zlib/commit/1bed54dcf7
-rw-r--r-- | test/zlib/test_zlib.rb | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -801,7 +801,8 @@ if defined? Zlib gz.write "hi" gz.close - File.open(Dir.mktmpdir, File::RDWR | File::TMPFILE) do |io| io.write sio.string io.rewind @@ -825,6 +826,8 @@ if defined? Zlib omit 'O_TMPFILE not supported (EISDIR)' rescue Errno::EOPNOTSUPP omit 'O_TMPFILE not supported (EOPNOTSUPP)' end end end |