1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2010-05-27 05:47:21 +00:00
parent 974cd2e23e
commit 37f75ad0c4

View file

@ -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)