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 | ed7103b3e54fd41419383c1ec65340c3fc335776 (patch) | |
| tree | ececeafea3efde59afba5dc063dcf8e08d96d32e | |
| parent | 8209c9622c9f7fa5afdefd0a8b05805cd7dd411e (diff) | |
| download | ruby-ed7103b3e54fd41419383c1ec65340c3fc335776.tar.gz ruby-ed7103b3e54fd41419383c1ec65340c3fc335776.tar.xz ruby-ed7103b3e54fd41419383c1ec65340c3fc335776.zip | |
* test/gdbm/test_gdbm.rb, test/sdbm/test_sdbm.rb (test_s_open_error):
skip on Win32/DOS platforms.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | test/gdbm/test_gdbm.rb | 1 | ||||
| -rw-r--r-- | test/sdbm/test_sdbm.rb | 1 |
3 files changed, 7 insertions, 0 deletions
@@ -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 diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb index f4a6bfb19..a2a3fc45f 100644 --- a/test/gdbm/test_gdbm.rb +++ b/test/gdbm/test_gdbm.rb @@ -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) diff --git a/test/sdbm/test_sdbm.rb b/test/sdbm/test_sdbm.rb index 17b3d3c4e..8789d719d 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) |
