1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): skip

the test if gdbm version is 1.8.x.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2011-01-28 08:36:46 +00:00
parent a3d861ef2f
commit 36f71db31e
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Fri Jan 28 17:33:28 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): skip
the test if gdbm version is 1.8.x.
Fri Jan 28 16:30:51 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_require.rb (TestRequire#test_require_too_long_filename):

View file

@ -92,8 +92,8 @@ if defined? GDBM
end
end
def test_s_open_no_create
assert_nil(gdbm = GDBM.open("#{@tmpdir}/#{@prefix}", nil),
"this test is failed on libgdbm 1.8.0")
skip "this test is failed on libgdbm 1.8.0" if /1\.8\./ =~ GDBM::VERSION
assert_nil(gdbm = GDBM.open("#{@tmpdir}/#{@prefix}", nil))
ensure
gdbm.close if gdbm
end