diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-31 02:29:27 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-31 02:29:27 +0000 |
commit | 8917210760260d07063904c7c923710014d92aae (patch) | |
tree | ececeafea3efde59afba5dc063dcf8e08d96d32e /test/sdbm | |
parent | 787d0e32547475d20747b64bf96c9ad238ec66a0 (diff) |
* test/gdbm/test_gdbm.rb, test/sdbm/test_sdbm.rb (test_s_open_error):
skip on Win32/DOS platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/sdbm')
-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 17b3d3c4e7..8789d719dd 100644 --- a/test/sdbm/test_sdbm.rb +++ b/test/sdbm/test_sdbm.rb @@ -118,6 +118,7 @@ class TestSDBM < Test::Unit::TestCase end def test_s_open_error + return if /(ms|bcc)win|mingw|djgpp/ =~ RUBY_PLATFORM assert_instance_of(SDBM, sdbm = SDBM.open("tmptest_sdbm", 0)) assert_raise(Errno::EACCES) { SDBM.open("tmptest_sdbm", 0) |