aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-20 04:46:37 +0000
committerngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-20 04:46:37 +0000
commit4d0fd22e7dc2b508d56cbd537f2f910e178575ef (patch)
treed00f7bfa8454d84a8c8be789d3fa6974486a3824
parent8612344834d40187f5bade4237cf6f3c60930deb (diff)
downloadruby-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
-rw-r--r--ChangeLog7
-rw-r--r--test/gdbm/test_gdbm.rb2
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c3930607d3..eb77c0b6c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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