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 b94e198e95..f020166233 100644
--- a/test/sdbm/test_sdbm.rb
+++ b/test/sdbm/test_sdbm.rb
@@ -120,6 +120,7 @@ class TestSDBM < Test::Unit::TestCase
end
def test_s_open_error
+ skip "doesn't support to avoid read access by owner on Windows" if /mswin|mingw/ =~ RUBY_PLATFORM
assert_instance_of(SDBM, sdbm = SDBM.open("#{@tmpdir}/#{@prefix}", 0))
assert_raise(Errno::EACCES) {
SDBM.open("#{@tmpdir}/#{@prefix}", 0)