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

* 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
This commit is contained in:
usa 2005-10-31 02:29:27 +00:00
parent 787d0e3254
commit 8917210760
3 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Mon Oct 31 11:27:22 2005 NAKAMURA Usaku <usa@ruby-lang.org>
* test/gdbm/test_gdbm.rb, test/sdbm/test_sdbm.rb (test_s_open_error):
skip on Win32/DOS platforms.
Mon Oct 31 05:49:23 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
* ext/openssl/ossl_cipher.c (ossl_cipher_update): input data must

View file

@ -195,6 +195,7 @@ if defined? GDBM
end
def test_s_open_error
return if /(ms|bcc)win|mingw|djgpp/ =~ RUBY_PLATFORM
assert_instance_of(GDBM, gdbm = GDBM.open("tmptest_gdbm", 0))
assert_raise(Errno::EACCES) {
GDBM.open("tmptest_gdbm", 0)

View file

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