Annotation of embedaddon/php/ext/dba/tests/dba_flatfile.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: DBA FlatFile handler test
                      3: --SKIPIF--
                      4: <?php 
                      5:        $handler = 'flatfile';
                      6:        require_once(dirname(__FILE__) .'/skipif.inc');
                      7: ?>
                      8: --FILE--
                      9: <?php
                     10:        $handler = 'flatfile';
                     11:        require_once(dirname(__FILE__) .'/test.inc');
                     12:        require_once(dirname(__FILE__) .'/dba_handler.inc');
                     13: ?>
                     14: ===DONE===
                     15: --CLEAN--
                     16: <?php 
                     17:        require(dirname(__FILE__) .'/clean.inc'); 
                     18: ?>
                     19: --EXPECT--
                     20: database handler: flatfile
                     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>