summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-27 05:47:21 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-27 05:47:21 +0000
commit37f75ad0c4a5a9a669aa67fa5434a0cc615bb319 (patch)
tree9512fdfe2affeb8cc95a9cf437e0184918156e72 /test
parent974cd2e23e9fc8a1eeb06266b2ebf4c3655cac9e (diff)
* test/sdbm/test_sdbm.rb (test_s_open_error): doesn't support to avoid read
access by owner on Windows git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-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)