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:
parent
974cd2e23e
commit
37f75ad0c4
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue