diff options
author | Marcus Boerger <helly@php.net> | 2005-02-25 23:51:53 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-02-25 23:51:53 +0000 |
commit | 9ffeb12c4cdb930cc7563589ef954a0c3588f672 (patch) | |
tree | 3172f23cb3f3fbb96a30e02e0d96587654267fa2 /ext/dba/tests | |
parent | 28dbc778d830d89fef27e17965ff6684a0d3f924 (diff) | |
download | php-git-9ffeb12c4cdb930cc7563589ef954a0c3588f672.tar.gz |
- 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.
Diffstat (limited to 'ext/dba/tests')
-rwxr-xr-x | ext/dba/tests/dba_db1.phpt | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/ext/dba/tests/dba_db1.phpt b/ext/dba/tests/dba_db1.phpt new file mode 100755 index 0000000000..983954b50b --- /dev/null +++ b/ext/dba/tests/dba_db1.phpt @@ -0,0 +1,46 @@ +--TEST-- +DBA DB1 handler test +--SKIPIF-- +<?php + $handler = 'db1'; + require_once('skipif.inc'); +?> +--FILE-- +<?php + $handler = 'db1'; + require_once('test.inc'); + require_once('dba_handler.inc'); +?> +===DONE=== +--EXPECT-- +database handler: db1 +3NYNYY +Content String 2 +Content 2 replaced +Read during write: not allowed +Content 2 replaced 2nd time +The 6th value +array(3) { + ["key number 6"]=> + string(13) "The 6th value" + ["key2"]=> + string(27) "Content 2 replaced 2nd time" + ["key5"]=> + string(23) "The last content string" +} +--NO-LOCK-- +3NYNYY +Content String 2 +Content 2 replaced +Read during write: not allowed +Content 2 replaced 2nd time +The 6th value +array(3) { + ["key number 6"]=> + string(13) "The 6th value" + ["key2"]=> + string(27) "Content 2 replaced 2nd time" + ["key5"]=> + string(23) "The last content string" +} +===DONE=== |