2002-11-01 14:23:23 +00:00
|
|
|
--TEST--
|
|
|
|
DBA GDBM handler test
|
|
|
|
--SKIPIF--
|
|
|
|
<?php
|
2003-03-04 20:31:42 +00:00
|
|
|
$handler = 'gdbm';
|
2002-11-01 14:23:23 +00:00
|
|
|
require_once('skipif.inc');
|
|
|
|
?>
|
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
$handler = 'gdbm';
|
2003-03-04 20:31:42 +00:00
|
|
|
require_once('test.inc');
|
2002-11-10 22:56:29 +00:00
|
|
|
$lock_flag = ''; // lock in library
|
2002-11-01 14:23:23 +00:00
|
|
|
require_once('dba_handler.inc');
|
2002-11-14 14:32:39 +00:00
|
|
|
|
|
|
|
// Read during write is system dependant. Important is that there is no deadlock
|
2002-11-01 14:23:23 +00:00
|
|
|
?>
|
2003-12-18 20:10:24 +00:00
|
|
|
===DONE===
|
2002-11-14 14:32:39 +00:00
|
|
|
--EXPECTF--
|
2002-11-01 14:23:23 +00:00
|
|
|
database handler: gdbm
|
|
|
|
3NYNYY
|
|
|
|
Content String 2
|
|
|
|
Content 2 replaced
|
2002-11-14 14:32:39 +00:00
|
|
|
Read during write:%sallowed
|
2002-11-06 11:18:00 +00:00
|
|
|
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"
|
2003-12-18 20:10:24 +00:00
|
|
|
}
|
|
|
|
===DONE===
|