1--TEST-- 2DBA 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-- 20database handler: tcadb 213NYNYY 22Content String 2 23Content 2 replaced 24Read during write: not allowed 25Content 2 replaced 2nd time 26The 6th value 27array(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-- 363NYNYY 37Content String 2 38Content 2 replaced 39Read during write: not allowed 40Content 2 replaced 2nd time 41The 6th value 42array(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=== 51