summaryrefslogtreecommitdiff
path: root/test/gdbm
diff options
context:
space:
mode:
Diffstat (limited to 'test/gdbm')
-rw-r--r--test/gdbm/test_gdbm.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb
index f4a6bfb197b..a2a3fc45fa7 100644
--- a/test/gdbm/test_gdbm.rb
+++ b/test/gdbm/test_gdbm.rb
@@ -195,6 +195,7 @@ if defined? GDBM
end
def test_s_open_error
+ return if /(ms|bcc)win|mingw|djgpp/ =~ RUBY_PLATFORM
assert_instance_of(GDBM, gdbm = GDBM.open("tmptest_gdbm", 0))
assert_raise(Errno::EACCES) {
GDBM.open("tmptest_gdbm", 0)