Test Failure Report for ext/pgsql/tests/80_bug14383.phpt ('Bug #14383 (using postgres with DBA causes DBA not to be able to find any keys)')
Script
1:
<?php 2: require_once('config.inc'); 3: 4: $dbh = @pg_connect($conn_str); 5: if (!$dbh) { 6: die ("Could not connect to the server"); 7: } 8: pg_close($dbh); 9: 10: require_once(dirname(__FILE__).'/../../dba/tests/test.inc'); 11: require_once(dirname(__FILE__).'/../../dba/tests/dba_handler.inc'); 12: 13: ?> 14:
Expected
database handler: %s
3NYNYY
Content String 2
Content 2 replaced
Read during write:%sallowed
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
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"
}
Output
database handler: flatfile
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"
}
Diff
006+ "key number 6" written
007+ Failed to write "key number 6" 2nd time
023+ "key number 6" written
024+ Failed to write "key number 6" 2nd time
Generated at Sat, 25 May 2013 18:49:39 +0000 (8 hours ago)
|