PHP  
 PHP_7_2
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.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
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_7_2/ext/oci8/tests/connect_without_oracle_home.php on line 6

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

Diff

001+ Directory does not exist for read/write [""/log] []
002+ 
004+ 
005+ Warning: oci_connect(): Error while trying to retrieve text for error ORA-01804
006+  in /var/php_gcov/PHP_7_2/ext/oci8/tests/connect_without_oracle_home.php on line 6

 

Generated at Sat, 16 Sep 2017 05:04:10 +0000 (5 days ago)

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