mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_gdbm.rb: skip a test on Windows
* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_nolock): skip a failing test on Windows because flock() implementation is different from Unix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
274f1c8806
commit
a75e4aef9a
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Mon Jun 24 22:11:37 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
|
||||||
|
|
||||||
|
* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_nolock):
|
||||||
|
skip a failing test on Windows because flock() implementation is
|
||||||
|
different from Unix.
|
||||||
|
|
||||||
Mon Jun 24 22:06:14 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
|
Mon Jun 24 22:06:14 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
|
||||||
|
|
||||||
* test/rubygems/test_gem_installer.rb (test_install_extension_flat):
|
* test/rubygems/test_gem_installer.rb (test_install_extension_flat):
|
||||||
|
|
|
@ -190,6 +190,10 @@ if defined? GDBM
|
||||||
|
|
||||||
STDERR.puts Dir.glob("#{dbname}*") if $DEBUG
|
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
|
open_db_child(dbname) do
|
||||||
assert_nothing_raised(Errno::EWOULDBLOCK, Errno::EAGAIN, Errno::EACCES) {
|
assert_nothing_raised(Errno::EWOULDBLOCK, Errno::EAGAIN, Errno::EACCES) {
|
||||||
# this test is failed on Cygwin98 (???)
|
# this test is failed on Cygwin98 (???)
|
||||||
|
|
Loading…
Add table
Reference in a new issue