diff options
| -rw-r--r-- | test/zlib/test_zlib.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb index 464141f7d4..779c583424 100644 --- a/test/zlib/test_zlib.rb +++ b/test/zlib/test_zlib.rb @@ -506,6 +506,7 @@ if defined? Zlib end def test_multithread_deflate + pend 'hangs' if RUBY_ENGINE == 'truffleruby' zd = Zlib::Deflate.new s = "x" * 10000 @@ -522,6 +523,7 @@ if defined? Zlib end def test_multithread_inflate + pend 'hangs' if RUBY_ENGINE == 'truffleruby' zi = Zlib::Inflate.new s = Zlib.deflate("x" * 10000) @@ -792,7 +794,7 @@ if defined? Zlib } end - if defined? File::TMPFILE + if defined?(File::TMPFILE) and RUBY_ENGINE != 'truffleruby' def test_path_tmpfile sio = StringIO.new("".dup, 'w') gz = Zlib::GzipWriter.new(sio) |
