PHP  
 PHP_7_1
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Test Failure Report for ext/interbase/tests/ibase_drop_db_001.phpt ('ibase_drop_db(): Basic test')

Script

1: <?php
2:
3:
require("interbase.inc");
4:
5:
unlink($file tempnam('/tmp',"php_ibase_test"));
6:
7:
8:
$db ibase_query(IBASE_CREATE
9:         
sprintf("CREATE SCHEMA '%s' USER '%s' PASSWORD '%s' DEFAULT CHARACTER SET %s",$file,
10:         
$user$password, ($charset ini_get('ibase.default_charset')) ? $charset 'NONE'));
11:
12:
var_dump($db);
13:
var_dump(ibase_drop_db($db));
14:
var_dump(ibase_drop_db(1));
15:
var_dump(ibase_drop_db(NULL));
16:
17:
?>
18:

Expected

resource(%d) of type (Firebird/InterBase link)
bool(true)

Warning: ibase_drop_db() expects parameter 1 to be resource, integer given in %s on line %d
NULL

Warning: ibase_drop_db() expects parameter 1 to be resource, null given in %s on line %d
NULL

Output

resource(8) of type (Firebird/InterBase link)
bool(true)

Warning: ibase_drop_db() expects parameter 1 to be resource, integer given in /var/php_gcov/PHP_7_1/ext/interbase/tests/ibase_drop_db_001.php on line 14
NULL

Warning: ibase_drop_db() expects parameter 1 to be resource, null given in /var/php_gcov/PHP_7_1/ext/interbase/tests/ibase_drop_db_001.php on line 15
NULL

Warning: ibase_drop_db(): lock time-out on wait transaction object /tmp/php_ibase_testOqtkBw is in use  in /var/php_gcov/PHP_7_1/ext/interbase/tests/interbase.inc on line 33

Diff

009+ 
010+ Warning: ibase_drop_db(): lock time-out on wait transaction object /tmp/php_ibase_testOqtkBw is in use  in /var/php_gcov/PHP_7_1/ext/interbase/tests/interbase.inc on line 33

 

Generated at Fri, 17 Nov 2017 10:18:10 +0000 (2 days ago)

Copyright © 2005-2017 The PHP Group
All rights reserved.