Annotation of embedaddon/php/ext/dba/tests/dba_tcadb.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: DBA TCADB handler test
! 3: --SKIPIF--
! 4: <?php
! 5: $handler = 'tcadb';
! 6: require_once dirname(__FILE__) .'/skipif.inc';
! 7: ?>
! 8: --FILE--
! 9: <?php
! 10: $handler = 'tcadb';
! 11: require_once dirname(__FILE__) .'/skipif.inc';
! 12: $lock_flag = 'l';
! 13: $db_filename = $db_file = dirname(__FILE__) .'/test0.tch';
! 14: @unlink($db_filename);
! 15: @unlink($db_filename.'.lck');
! 16: require_once dirname(__FILE__) .'/dba_handler.inc';
! 17: ?>
! 18: ===DONE===
! 19: --EXPECT--
! 20: database handler: tcadb
! 21: 3NYNYY
! 22: Content String 2
! 23: Content 2 replaced
! 24: Read during write: not allowed
! 25: Content 2 replaced 2nd time
! 26: The 6th value
! 27: array(3) {
! 28: ["key number 6"]=>
! 29: string(13) "The 6th value"
! 30: ["key2"]=>
! 31: string(27) "Content 2 replaced 2nd time"
! 32: ["key5"]=>
! 33: string(23) "The last content string"
! 34: }
! 35: --NO-LOCK--
! 36: 3NYNYY
! 37: Content String 2
! 38: Content 2 replaced
! 39: Read during write: not allowed
! 40: Content 2 replaced 2nd time
! 41: The 6th value
! 42: array(3) {
! 43: ["key number 6"]=>
! 44: string(13) "The 6th value"
! 45: ["key2"]=>
! 46: string(27) "Content 2 replaced 2nd time"
! 47: ["key5"]=>
! 48: string(23) "The last content string"
! 49: }
! 50: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>