mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
8612344834
commit
4d0fd22e7d
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
Tue Aug 20 13:38:00 2013 Naohisa Goto <ngotogenome@gmail.com>
|
||||
|
||||
* 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@zzak.io>
|
||||
|
||||
* lib/test/: [DOC] Document Test::Unit, hide most submodules and
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue