Test Failure Report for ext/dba/tests/dba_inifile.phpt ('DBA INIFILE handler test')
Script
1:
<?php 2: $handler = 'inifile'; 3: require_once dirname(__FILE__) .'/test.inc'; 4: require_once dirname(__FILE__) .'/dba_handler.inc'; 5: ?> 6: ===DONE=== 7:
Expected
database handler: inifile
3NYNYY
Content String 2
Content 2 replaced
Read during write: not allowed
"key number 6" written
Failed to write "key number 6" 2nd time
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"
}
--NO-LOCK--
3NYNYY
Content String 2
Content 2 replaced
Read during write: not allowed
"key number 6" written
Failed to write "key number 6" 2nd time
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"
}
===DONE===
Output
database handler: inifile
Warning: dba_delete(): Could not copy group [0 - 127] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 13
Warning: dba_delete(): Could not copy group [0 - 127] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 14
5YYYYY
Content String 2
Warning: dba_replace(): Could not copy group [0 - 127] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 34
Warning: dba_replace(key2): Operation not possible in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 34
Content String 2
Read during write: not allowed
"key number 6" written
"key number 6" written 2nd time
Warning: dba_replace(): Could not copy group [0 - 214] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 59
Warning: dba_replace(key2): Operation not possible in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 59
Warning: dba_delete(): Could not copy group [0 - 214] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 60
Content String 2
The 6th value
array(6) {
["key number 6"]=>
string(13) "The 6th value"
["key1"]=>
string(16) "Content String 1"
["key2"]=>
string(16) "Content String 2"
["key3"]=>
string(20) "Third Content String"
["key4"]=>
string(22) "Another Content String"
["key5"]=>
string(23) "The last content string"
}
--NO-LOCK--
Warning: dba_delete(): Could not copy group [0 - 127] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 13
Warning: dba_delete(): Could not copy group [0 - 127] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 14
5YYYYY
Content String 2
Warning: dba_replace(): Could not copy group [0 - 127] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 34
Warning: dba_replace(key2): Operation not possible in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 34
Content String 2
Read during write: not allowed
"key number 6" written
"key number 6" written 2nd time
Warning: dba_replace(): Could not copy group [0 - 214] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 59
Warning: dba_replace(key2): Operation not possible in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 59
Warning: dba_delete(): Could not copy group [0 - 214] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 60
Content String 2
The 6th value
array(6) {
["key number 6"]=>
string(13) "The 6th value"
["key1"]=>
string(16) "Content String 1"
["key2"]=>
string(16) "Content String 2"
["key3"]=>
string(20) "Third Content String"
["key4"]=>
string(22) "Another Content String"
["key5"]=>
string(23) "The last content string"
}
===DONE===
Diff
002+
003+ Warning: dba_delete(): Could not copy group [0 - 127] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 13
004+
005+ Warning: dba_delete(): Could not copy group [0 - 127] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 14
006+ 5YYYYY
002- 3NYNYY
004- Content 2 replaced
007- Failed to write "key number 6" 2nd time
008- Content 2 replaced 2nd time
008+
009+ Warning: dba_replace(): Could not copy group [0 - 127] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 34
010+
011+ Warning: dba_replace(key2): Operation not possible in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 34
012+ Content String 2
010- array(3) {
014- string(27) "Content 2 replaced 2nd time"
015+ "key number 6" written 2nd time
016+
017+ Warning: dba_replace(): Could not copy group [0 - 214] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 59
018+
019+ Warning: dba_replace(key2): Operation not possible in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 59
020+
021+ Warning: dba_delete(): Could not copy group [0 - 214] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 60
022+ Content String 2
019- 3NYNYY
021- Content 2 replaced
024+ array(6) {
024- Failed to write "key number 6" 2nd time
025- Content 2 replaced 2nd time
027+ ["key1"]=>
028+ string(16) "Content String 1"
027- array(3) {
030+ string(16) "Content String 2"
031+ ["key3"]=>
032+ string(20) "Third Content String"
033+ ["key4"]=>
034+ string(22) "Another Content String"
031- string(27) "Content 2 replaced 2nd time"
039+
040+ Warning: dba_delete(): Could not copy group [0 - 127] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 13
041+
042+ Warning: dba_delete(): Could not copy group [0 - 127] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 14
043+ 5YYYYY
045+
046+ Warning: dba_replace(): Could not copy group [0 - 127] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 34
047+
048+ Warning: dba_replace(key2): Operation not possible in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 34
049+ Content String 2
052+ "key number 6" written 2nd time
053+
054+ Warning: dba_replace(): Could not copy group [0 - 214] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 59
055+
056+ Warning: dba_replace(key2): Operation not possible in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 59
057+
058+ Warning: dba_delete(): Could not copy group [0 - 214] to temporary stream in /var/php_gcov/PHP_5_5/ext/dba/tests/dba_handler.inc on line 60
059+ Content String 2
061+ array(6) {
064+ ["key1"]=>
065+ string(16) "Content String 1"
067+ string(16) "Content String 2"
068+ ["key3"]=>
069+ string(20) "Third Content String"
070+ ["key4"]=>
071+ string(22) "Another Content String"
Generated at Wed, 15 May 2013 22:03:26 +0000 (5 days ago)
|