Annotation of embedaddon/php/ext/dba/tests/dba_gdbm.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: DBA GDBM handler test
! 3: --SKIPIF--
! 4: <?php
! 5: $handler = 'gdbm';
! 6: require_once dirname(__FILE__) .'/skipif.inc';
! 7: ?>
! 8: --FILE--
! 9: <?php
! 10: $handler = 'gdbm';
! 11: require_once dirname(__FILE__) .'/test.inc';
! 12: $lock_flag = ''; // lock in library
! 13: require_once dirname(__FILE__) .'/dba_handler.inc';
! 14:
! 15: // Read during write is system dependant. Important is that there is no deadlock
! 16: ?>
! 17: ===DONE===
! 18: --EXPECTF--
! 19: database handler: gdbm
! 20: 3NYNYY
! 21: Content String 2
! 22: Content 2 replaced
! 23: Read during write:%sallowed
! 24: Content 2 replaced 2nd time
! 25: The 6th value
! 26: array(3) {
! 27: ["key number 6"]=>
! 28: string(13) "The 6th value"
! 29: ["key2"]=>
! 30: string(27) "Content 2 replaced 2nd time"
! 31: ["key5"]=>
! 32: string(23) "The last content string"
! 33: }
! 34: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>