From 4d0fd22e7dc2b508d56cbd537f2f910e178575ef Mon Sep 17 00:00:00 2001 From: ngoto Date: Tue, 20 Aug 2013 04:46:37 +0000 Subject: * test/gdbm/test_gdbm.rb: skip TestGDBM#test_s_open_lock on Solaris. On Solaris (and platforms which do not have flock and have lockf), with GDBM 1.10, gdbm_open(3) blocks when opening already locked gdbm file. [Bug #8790] [ruby-dev:47631] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/gdbm/test_gdbm.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb index d3eaa77f50..b406d59dc2 100644 --- a/test/gdbm/test_gdbm.rb +++ b/test/gdbm/test_gdbm.rb @@ -151,6 +151,8 @@ if defined? GDBM end def test_s_open_lock + skip "GDBM.open would block when opening already locked gdbm file on platforms without flock and with lockf" if /solaris/ =~ RUBY_PLATFORM + dbname = "#{@tmpdir}/#{@prefix}" open_db_child(dbname) do -- cgit v1.2.3