summaryrefslogtreecommitdiff
path: root/test/sdbm
diff options
context:
space:
mode:
Diffstat (limited to 'test/sdbm')
-rw-r--r--test/sdbm/test_sdbm.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sdbm/test_sdbm.rb b/test/sdbm/test_sdbm.rb
index 17b3d3c4e76..8789d719dd4 100644
--- a/test/sdbm/test_sdbm.rb
+++ b/test/sdbm/test_sdbm.rb
@@ -118,6 +118,7 @@ class TestSDBM < Test::Unit::TestCase
end
def test_s_open_error
+ return if /(ms|bcc)win|mingw|djgpp/ =~ RUBY_PLATFORM
assert_instance_of(SDBM, sdbm = SDBM.open("tmptest_sdbm", 0))
assert_raise(Errno::EACCES) {
SDBM.open("tmptest_sdbm", 0)