aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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