summaryrefslogtreecommitdiff
path: root/ext/dba/tests/dba_db3.phpt
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-12-18 20:10:24 +0000
committerMarcus Boerger <helly@php.net>2003-12-18 20:10:24 +0000
commita6dd097484bf5ced360ddfb81306fe477286fab9 (patch)
tree262558cc5829d76368b87e2e41f9a3fc0caf1ee3 /ext/dba/tests/dba_db3.phpt
parent49efcd4f276262d4a99c1deafc1375ec35c7b29b (diff)
downloadphp-git-a6dd097484bf5ced360ddfb81306fe477286fab9.tar.gz
Improve dba tests: check in both modes external and database locking.
Diffstat (limited to 'ext/dba/tests/dba_db3.phpt')
-rw-r--r--ext/dba/tests/dba_db3.phpt19
1 files changed, 18 insertions, 1 deletions
diff --git a/ext/dba/tests/dba_db3.phpt b/ext/dba/tests/dba_db3.phpt
index aa389d5f26..c6d04cf02d 100644
--- a/ext/dba/tests/dba_db3.phpt
+++ b/ext/dba/tests/dba_db3.phpt
@@ -11,6 +11,7 @@ DBA DB3 handler test
require_once('test.inc');
require_once('dba_handler.inc');
?>
+===DONE===
--EXPECT--
database handler: db3
3NYNYY
@@ -26,4 +27,20 @@ array(3) {
string(27) "Content 2 replaced 2nd time"
["key5"]=>
string(23) "The last content string"
-} \ No newline at end of file
+}
+--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===