ruby-changes:30555
From: ngoto <ko1@a...>
Date: Tue, 20 Aug 2013 13:46:44 +0900 (JST)
Subject: [ruby-changes:30555] ngoto:r42634 (trunk): * test/gdbm/test_gdbm.rb: skip TestGDBM#test_s_open_lock on Solaris.
ngoto 2013-08-20 13:46:37 +0900 (Tue, 20 Aug 2013) New Revision: 42634 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42634 Log: * 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] Modified files: trunk/ChangeLog trunk/test/gdbm/test_gdbm.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 42633) +++ ChangeLog (revision 42634) @@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Aug 20 13:38:00 2013 Naohisa Goto <ngotogenome@g...> + + * 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] + Tue Aug 20 02:32:52 2013 Zachary Scott <e@z...> * lib/test/: [DOC] Document Test::Unit, hide most submodules and Index: test/gdbm/test_gdbm.rb =================================================================== --- test/gdbm/test_gdbm.rb (revision 42633) +++ test/gdbm/test_gdbm.rb (revision 42634) @@ -151,6 +151,8 @@ if defined? GDBM https://github.com/ruby/ruby/blob/trunk/test/gdbm/test_gdbm.rb#L151 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/