summaryrefslogtreecommitdiff
path: root/test/zlib/test_zlib.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-01-11 21:26:49 +0900
committergit <svn-admin@ruby-lang.org>2022-01-11 21:35:22 +0900
commit6b87d980112c1b37f0bb64d5fa5d78a3f5899fdf (patch)
tree199048fb103f0dbb1b72d93ca4994ea665b1c379 /test/zlib/test_zlib.rb
parentf95039af7584a2fa27e4d1cbcdf28bbf5b5ecdcf (diff)
[ruby/zlib] Use omit instead of skip for test-unit
https://github.com/ruby/zlib/commit/5f23cd3009
Diffstat (limited to 'test/zlib/test_zlib.rb')
-rw-r--r--test/zlib/test_zlib.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb
index 1e57c5aa8c..a9de827ca8 100644
--- a/test/zlib/test_zlib.rb
+++ b/test/zlib/test_zlib.rb
@@ -812,11 +812,11 @@ if defined? Zlib
gz1.close
end
rescue Errno::EINVAL
- skip 'O_TMPFILE not supported (EINVAL)'
+ omit 'O_TMPFILE not supported (EINVAL)'
rescue Errno::EISDIR
- skip 'O_TMPFILE not supported (EISDIR)'
+ omit 'O_TMPFILE not supported (EISDIR)'
rescue Errno::EOPNOTSUPP
- skip 'O_TMPFILE not supported (EOPNOTSUPP)'
+ omit 'O_TMPFILE not supported (EOPNOTSUPP)'
end
end
end
@@ -1324,10 +1324,10 @@ if defined? Zlib
begin
assert_equal(0x02820145, Zlib.adler32_combine(one, two, 1))
rescue NotImplementedError
- skip "adler32_combine is not implemented"
+ omit "adler32_combine is not implemented"
rescue Test::Unit::AssertionFailedError
if /aix/ =~ RUBY_PLATFORM
- skip "zconf.h in zlib does not handle _LARGE_FILES in AIX. Skip until it is fixed"
+ omit "zconf.h in zlib does not handle _LARGE_FILES in AIX. Skip until it is fixed"
end
raise $!
end
@@ -1359,10 +1359,10 @@ if defined? Zlib
begin
assert_equal(0x8c736521, Zlib.crc32_combine(one, two, 1))
rescue NotImplementedError
- skip "crc32_combine is not implemented"
+ omit "crc32_combine is not implemented"
rescue Test::Unit::AssertionFailedError
if /aix/ =~ RUBY_PLATFORM
- skip "zconf.h in zlib does not handle _LARGE_FILES in AIX. Skip until it is fixed"
+ omit "zconf.h in zlib does not handle _LARGE_FILES in AIX. Skip until it is fixed"
end
raise $!
end