naruse
131f694330
Suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-25 06:49:35 +00:00
nobu
15fb1619e3
* doc/ChangeLog-1.9.3, test/gdbm/test_gdbm.rb: fixed mingw typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-28 02:40:28 +00:00
akr
ddb9acd9f8
* test/dbm/test_dbm.rb: split tests for read only database.
...
* test/gdbm/test_gdbm.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08 11:51:28 +00:00
kosaki
77a7137c4b
* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create,
...
TestGDBM2#test_writer_open_notexist): We only need to skip libgdbm 1.8.0,
not all 1.8.x. 1.8.1 or later don't have GDBM_WRITER sickness.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-28 14:23:04 +00:00
kosaki
3a0ec68109
* test/gdbm/test_gdbm.rb (TestGDBM2#test_writer_open_notexist):
...
gdbm 1.8.x changed GDBM::WRITER behavior. Thus our testcase need
to be changed too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-28 08:50:18 +00:00
kosaki
36f71db31e
* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): skip
...
the test if gdbm version is 1.8.x.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-28 08:36:46 +00:00
usa
3a08f62b4f
* test/gdbm/test_gdbm.rb (test_s_open_create_new): Windows doesn't supports
...
UNIX like permittions.
* test/gdbm/test_gdbm.rb (test_s_open_error): Errno::EWOULDBLOCK is raised on
Windows in such case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03 01:24:42 +00:00
nobu
287a34ae0d
* {ext,lib,test}/**/*.rb: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 03:56:38 +00:00
matz
703fb3d9be
* ext/gdbm/gdbm.c (fgdbm_index): make #index warn like Hash.
...
[ruby-dev:37039]
* ext/sdbm/init.c (Init_sdbm): typo fixed. [ruby-dev:37039]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 03:15:28 +00:00
nobu
00b4a3f9c4
* test: assert_raises has been deprecated since a long time ago.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 17:44:39 +00:00
kazu
c0d8e6cbf9
* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): failed
...
notice moved from comment to assertion message. [ruby-dev:29127]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-23 06:32:16 +00:00
akr
7eee7f1cde
forgot to modify TestDBM2 and TestGDBM2.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-24 06:29:59 +00:00
akr
462d4e1224
use Dir.mktmpdir.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-24 06:20:31 +00:00
akr
a9c2a18cc7
don't generate temporary files under current directory.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-28 16:51:41 +00:00
usa
c67d0e35e7
* test/{dbm,gdbm}/test_{dbm,gdbm}.rb: shouldn't use host_os. use
...
target_os instead. [ruby-list:43225]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-27 16:22:10 +00:00
akr
04946de81b
* mkconfig.rb: generate RbConfig instead of Config.
...
* instruby.rb, rubytest.rb, runruby.rb, bcc32/Makefile.sub,
ext/extmk.rb, ext/dl/extconf.rb, ext/iconv/charset_alias.rb,
lib/mkmf.rb, lib/rdoc/ri/ri_paths.rb,
lib/webrick/httpservlet/cgihandler.rb,
test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb,
test/ruby/envutil.rb, test/soap/calc/test_calc_cgi.rb,
test/soap/header/test_authheader_cgi.rb, test/soap/ssl/test_ssl.rb,
win32/mkexports.rb, win32/resource.rb: Use RbConfig instead of
Config.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20 08:34:53 +00:00
akr
2b5bb9ad00
dbm/test_dbm.rb: specify pid for Process.wait.
...
gdbm/test_gdbm.rb: ditto.
sdbm/test_sdbm.rb: ditto.
dbm/test_dbm.rb: add tests for open when db is not exist.
gdbm/test_gdbm.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-12 15:53:06 +00:00
usa
60f2184922
* test/{dbm,gdbm,sdbm}/test_{dbm,gdbm,sdbm}.rb: skip some tests
...
which using fork on fork-less platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-04 02:24:54 +00:00
usa
b03649bc2a
* ext/dbm/dbm.c (fdbm_closed): new method DBM#closed?
...
* ext/gdbm/gdbm.c (fgdbm_closed): new method GDBM#closed?
* ext/sdbm/init.c (fsdbm_closed): new method SDBM#closed?
* test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb, test/sdbm/test_sdbm.rb
(teardown): close all db objects before deleting data files.
* win32/win32.{ch} (unlink): hook runtime function to change
file attribute before unlinking.
merge from 1.8, see [ruby-dev:26360]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-20 08:17:53 +00:00
akr
cd8d93d0cd
* test/dbm/test_dbm.rb: merged from ext/dbm/testdbm.rb.
...
* test/gdbm/test_gdbm.rb: merged from ext/gdbm/testgdbm.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-04 05:59:16 +00:00
matz
5141d3ea79
* hash.c (rb_f_getenv): prohibit for $SAFE=4. [ruby-dev:24908]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18 08:11:12 +00:00
akr
eeb5c7e18e
* ext/dbm/dbm.c (fdbm_initialize): accept optional 3rd argument to
...
specify an open flag.
(Init_dbm): define open flags: DBM::READER, DBM::WRITER, DBM::WRCREAT
and DBM::NEWDB.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 12:03:23 +00:00
akr
d92f10ac06
add freeze test for dbm and gdbm.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 09:39:12 +00:00
akr
ec2f913670
add a gdbm test for [ruby-dev:23381]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-15 09:39:39 +00:00