Skip to content

Commit

Permalink
* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): skip
Browse files Browse the repository at this point in the history
	  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
  • Loading branch information
kosaki committed Jan 28, 2011
1 parent a3d861e commit 36f71db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Fri Jan 28 17:33:28 2011 KOSAKI Motohiro <[email protected]>

* 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 <[email protected]>

* test/ruby/test_require.rb (TestRequire#test_require_too_long_filename):
Expand Down
4 changes: 2 additions & 2 deletions test/gdbm/test_gdbm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def test_s_open_create_new
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
Expand Down

0 comments on commit 36f71db

Please sign in to comment.