diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-20 04:46:37 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-20 04:46:37 +0000 |
commit | 4d0fd22e7dc2b508d56cbd537f2f910e178575ef (patch) | |
tree | d00f7bfa8454d84a8c8be789d3fa6974486a3824 /test/gdbm | |
parent | 8612344834d40187f5bade4237cf6f3c60930deb (diff) | |
download | bundler-4d0fd22e7dc2b508d56cbd537f2f910e178575ef.tar.gz |
* 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
Diffstat (limited to 'test/gdbm')
-rw-r--r-- | test/gdbm/test_gdbm.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |