Commit Graph

102 Commits

Author SHA1 Message Date
Christopher Jones
a3ec3b003d Improve basic code coverage 2010-03-01 20:33:18 +00:00
Dmitry Stogov
7bfe056174 Fixed tests 2009-09-21 09:52:19 +00:00
Felipe Pena
96d24a59e5 - Fixed paths 2009-08-01 23:26:02 +00:00
Felipe Pena
085067a9aa - Fixed bug #49125 (Error in dba_exists C code)
patch by: jdornan at stanford dot edu
2009-08-01 23:10:11 +00:00
Ilia Alshanetsky
34842709d6 Fixed test 2009-06-16 12:40:59 +00:00
Felipe Pena
539b7a2154 - MFH: Fixed bug #48240 (DBA Segmentation fault dba_nextkey) 2009-05-13 02:14:53 +00:00
Christopher Jones
2bb7df3504 MFH:
Fix bug #45266 (Fix build with BDB 4)
Fix bug #45267 (Revert invalid assumption about BDB 4 locking; let DBA handle locking)
Fix bug #45268 (Fix error callback prototype)
2008-06-19 22:39:56 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Antony Dovgal
bb489851e9 win32 test fixes 2007-04-18 08:06:29 +00:00
Marcus Boerger
78516c7905 - Fixed bug #36436 (DBA problem with Berkeley DB4). 2006-02-18 17:11:06 +00:00
Marcus Boerger
25de19a2fb - MFH Change dba/db4 to use its own locking 2005-12-08 19:35:05 +00:00
Marcus Boerger
9ffeb12c4c - Add support for db1 through emulation
# Most probably db4 requires a slightly different detection since functions
# are macros which most probably doesn't work with current configure check.
2005-02-25 23:51:53 +00:00
Marcus Boerger
ba75dd7877 Fix issue in test 2004-08-19 08:04:20 +00:00
Marcus Boerger
5310de975c Change to use md5_file() 2004-08-12 00:38:01 +00:00
Marcus Boerger
c69fb4133d dded qdbm handler (http://qdbm.sourceforge.net). 2003-12-18 20:25:21 +00:00
Marcus Boerger
a6dd097484 Improve dba tests: check in both modes external and database locking. 2003-12-18 20:10:24 +00:00
Marcus Boerger
661b203e89 Change to more complicated 'c' more 2003-12-14 22:09:28 +00:00
Marcus Boerger
ba3e315b65 Allow the extension to reside elsewhere 2003-06-19 15:48:06 +00:00
Marcus Boerger
e9c10acc76 Fix test (ssen by Dan Torop) 2003-05-20 22:28:10 +00:00
Marcus Boerger
34a36c466e #i shouldn't do test-fiddling after 3o-clock 2003-05-06 09:33:40 +00:00
Marcus Boerger
6360bda763 Find a better solution for the tests 2003-05-06 01:23:35 +00:00
Marcus Boerger
268ffda27d Reenable dba_popen() 2003-04-13 19:50:28 +00:00
Marcus Boerger
cf7101d354 Support all possible configurations and simplify includes 2003-03-04 20:31:42 +00:00
Marcus Boerger
8ab1924ca3 @Added dba handler inifiles to support ini files. (Marcus) 2003-02-22 17:20:06 +00:00
Marcus Boerger
67f0a6f6c0 testing default handler should be a separate test 2002-12-30 19:20:11 +00:00
Ilia Alshanetsky
22a2636d9d Made DBA tests not dependant on error reporting settings. 2002-12-27 04:46:40 +00:00
Marcus Boerger
4041d4faed Add missing test for db4 handler 2002-12-26 19:55:06 +00:00
Marcus Boerger
efd314e767 -Fix memory handling of persistent dba connections.
-Update tests.
# cdb and flatfile still FAIL for dba_popen since the known streams problem
2002-12-20 17:47:58 +00:00
Marcus Boerger
e7d20a0422 Make magic_quotes_runtime work bidirectional for dba 2002-11-22 15:47:48 +00:00
Marcus Boerger
93769053cc Use flatfile if available.
# This way we are using the internal library which we know about most.
2002-11-15 16:11:51 +00:00
Marcus Boerger
7d03dc004e Show which handler was used in the test 2002-11-15 15:58:09 +00:00
Marcus Boerger
dbb95f338e file() is affected by magic_quotes_runtime 2002-11-14 21:15:31 +00:00
Marcus Boerger
a14bc7685d Add magic_quotes_runtime support 2002-11-14 21:09:41 +00:00
Marcus Boerger
5ec9375760 Fix locking behaviour: On some systems read during write is permitted but
most libraries are not capable of that. GDBM is system dependant so there
we only test  that we do not deadlock.
2002-11-14 14:32:39 +00:00
Marcus Boerger
dcc7fc16b6 -Precondiftion: no open files
-do not show warning from dba_open call for read during write
# Interesting is that on some systems read during write is permitted...
# I will change the tests as soon as i find a way to have this equal on all
# systems
2002-11-11 12:00:58 +00:00
Marcus Boerger
4f636c6b3b Add $lock_flag which allows to change lock behaviour for both 'l' and 'd'
Remember gdbm has its own locking so 't' does not work here - maybe a
warning is needed for that, too.
2002-11-10 22:56:29 +00:00
Marcus Boerger
89b586d415 Use 'l' to open database file with locking on .lck file. 2002-11-10 22:07:17 +00:00
Marcus Boerger
2a2a41b5f2 add test to see if insert fails when key already exists 2002-11-07 14:18:42 +00:00
Marcus Boerger
caa194d47e -convert from dos to unix file
-disallow cdb_make
2002-11-06 11:59:14 +00:00
Marcus Boerger
c7b7cf17c2 check whether a written databse can be appended and if read during write
is permitted
#i use ksort for the result here since some dbm libraries sort their result
#but that is nothing to test here.
2002-11-06 11:18:00 +00:00
Marcus Boerger
4be50925ad move newly introduced flatfile support from dbm to new flatfile handler
# do not make the same mistake as with ext/db where it was not clear
# which format was used.
2002-11-06 04:16:18 +00:00
Marcus Boerger
5be5c7f14f incorporate cdb-0.75 as suggested by D. J. Bernstein
#dba now supports cdb_make
2002-11-04 17:53:04 +00:00
Marcus Boerger
529fbfffc4 missing 2002-11-03 20:17:00 +00:00
Marcus Boerger
aaf5911b16 cdb now allows multiple key-value pairs with same key 2002-11-03 16:43:07 +00:00
Marcus Boerger
ea7b5d41d3 cdb interface is currently readonly 2002-11-03 15:22:32 +00:00
Marcus Boerger
a54cf8b94a cdb interface is currently readonly 2002-11-03 15:11:42 +00:00
Marcus Boerger
f7bd4ce0ba Add testcase for every single handler
# db2 fails for me with SIGSEGV
2002-11-01 14:23:23 +00:00
Marcus Boerger
d50e62cbac Always show handler used 2002-11-01 14:21:36 +00:00
Marcus Boerger
5ab8fb4df1 test.dbm* -> test0.dbm* 2002-11-01 14:20:31 +00:00
Marcus Boerger
5a8ed1e734 New naming scheme 2002-10-25 11:09:01 +00:00
Marcus Boerger
63cffd7eae Implemented dba_list() that returns an array rsrcid=>filename and a test. 2002-10-25 10:06:35 +00:00
Marcus Boerger
a707e77a1b Added some tests for dba extension 2002-10-25 09:42:29 +00:00