diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-27 05:48:34 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-27 05:48:34 +0000 |
commit | d86860592a5b11d7457376829a773bba31b524dc (patch) | |
tree | 9fd656a32a5ae11c5087c97a23d10cd6ffbd6539 /test | |
parent | b40110b7f225864b6e43d06d8fbd8d932994fb8e (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/branches/ruby_1_9_2@28033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/sdbm/test_sdbm.rb | 1 |
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) |