diff options
Diffstat (limited to 'test/gdbm')
-rw-r--r-- | test/gdbm/test_gdbm.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb index 7d695d6e0a..d3eaa77f50 100644 --- a/test/gdbm/test_gdbm.rb +++ b/test/gdbm/test_gdbm.rb @@ -190,6 +190,10 @@ if defined? GDBM STDERR.puts Dir.glob("#{dbname}*") if $DEBUG + # The following test fails on Windows because flock() implementation + # is different from Unix. + return if /mswin|mingw/ =~ RUBY_PLATFORM + open_db_child(dbname) do assert_nothing_raised(Errno::EWOULDBLOCK, Errno::EAGAIN, Errno::EACCES) { # this test is failed on Cygwin98 (???) |