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

Test Failure Report for ext/oci8/tests/connect_without_oracle_home_11.phpt ('oci_connect() without ORACLE_HOME set (OCIServerAttach() segfaults)')

Script

1: <?php
2:
3:
require dirname(__FILE__)."/details.inc";
4:
5: if (!empty(
$dbase)) {
6:     
var_dump(oci_connect($user$password$dbase));
7: }
8: else {
9:     
var_dump(oci_connect($user$password));
10: }
11:     
12:
?>
13:
===DONE===
14:

Expected

Warning: oci_connect(): OCIEnvNlsCreate() failed. There is something wrong with your system - please check that ORACLE_HOME and %s are set and point to the right directories in %s on line %d

Warning: oci_connect(): Error while trying to retrieve text for error ORA-01804
 in %s on line %d
bool(false)
===DONE===

Output

Directory does not exist for read/write [""/log] []

Warning: oci_connect(): OCIEnvNlsCreate() failed. There is something wrong with your system - please check that ORACLE_HOME and LD_LIBRARY_PATH are set and point to the right directories in /var/php_gcov/PHP_HEAD/ext/oci8/tests/connect_without_oracle_home_11.php on line 6

Warning: oci_connect(): Error while trying to retrieve text for error ORA-01804
 in /var/php_gcov/PHP_HEAD/ext/oci8/tests/connect_without_oracle_home_11.php on line 6
bool(false)
===DONE===

Diff

001+ Directory does not exist for read/write [""/log] []
002+ 

 

Generated at Sun, 12 Nov 2017 21:17:35 +0000 (5 days ago)

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