summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-20 08:14:57 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-20 08:14:57 +0000
commitd13023d25754ac80b752be2551ad6ee37bb9a3f0 (patch)
tree870aed95cd3725ddc1bbfd2accf94fac81dfa08d
parentd07e0ae44223f8bcb58bcbeeb1b44426598c4176 (diff)
* test/dbm/test_dbm.rb (TestDBM::test_s_open_error): remove
test_s_open_error test to detect duplicate open. [ruby-dev:27202] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--test/dbm/test_dbm.rb8
2 files changed, 6 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 01128e1ce0..86fd1f9c27 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Sep 20 17:10:38 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * test/dbm/test_dbm.rb (TestDBM::test_s_open_error): remove
+ test_s_open_error test to detect duplicate open.
+ [ruby-dev:27202]
+
Tue Sep 20 17:08:31 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* io.c: PIPE_BUF is not defined on BeOS. use _POSIX_PIPE_BUF instead.
diff --git a/test/dbm/test_dbm.rb b/test/dbm/test_dbm.rb
index d566015df8..d4d488f577 100644
--- a/test/dbm/test_dbm.rb
+++ b/test/dbm/test_dbm.rb
@@ -86,14 +86,6 @@ if defined? DBM
assert_equal(DBM.open("tmptest_dbm") { :foo }, :foo)
end
- def test_s_open_error
- assert_instance_of(DBM, dbm = DBM.open("tmptest_dbm", 0))
- assert_raise(Errno::EACCES, "NEVER MIND IF YOU USE Berkeley DB3") {
- DBM.open("tmptest_dbm", 0)
- }
- dbm.close
- end
-
def test_close
assert_instance_of(DBM, dbm = DBM.open("tmptest_dbm"))
assert_nil(dbm.close)