From 6b87d980112c1b37f0bb64d5fa5d78a3f5899fdf Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 11 Jan 2022 21:26:49 +0900 Subject: [ruby/zlib] Use omit instead of skip for test-unit https://github.com/ruby/zlib/commit/5f23cd3009 --- test/zlib/test_zlib.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test/zlib') 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 -- cgit v1.2.3