ruby-changes:18681
From: kosaki <ko1@a...>
Date: Fri, 28 Jan 2011 17:36:54 +0900 (JST)
Subject: [ruby-changes:18681] Ruby:r30706 (trunk): * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): skip
kosaki 2011-01-28 17:36:46 +0900 (Fri, 28 Jan 2011) New Revision: 30706 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30706 Log: * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): skip the test if gdbm version is 1.8.x. Modified files: trunk/ChangeLog trunk/test/gdbm/test_gdbm.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 30705) +++ ChangeLog (revision 30706) @@ -1,3 +1,8 @@ +Fri Jan 28 17:33:28 2011 KOSAKI Motohiro <kosaki.motohiro@g...> + + * 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@g...> * test/ruby/test_require.rb (TestRequire#test_require_too_long_filename): Index: test/gdbm/test_gdbm.rb =================================================================== --- test/gdbm/test_gdbm.rb (revision 30705) +++ test/gdbm/test_gdbm.rb (revision 30706) @@ -92,8 +92,8 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/