[php-src] Issue #11819: ext/oci8/tests/pecl_bug16035.phpt: test failure

From: Date: Sat, 29 Jul 2023 12:22:19 +0000
Subject: [php-src] Issue #11819: ext/oci8/tests/pecl_bug16035.phpt: test failure
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-245064@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/11819 Author: orlitzky ### Description If I build PHP on Gentoo with, ``` ORACLE_HOME=/usr/lib64/oracle/client LDPATH=/usr/lib64/oracle/client/lib64 ./configure --disable-all --enable-cli --enable-pdo --with-pdo-oci --with-oci8 ``` and then run this test, it fails, ``` $ sapi/cli/php -n ./run-tests.php -n ext/oci8/tests/pecl_bug16035.phpt ... Running selected tests. FAIL PECL Bug #16035 (Crash with Oracle 10.2 connecting with a character set but ORACLE_HOME is not set) [ext/oci8/tests/pecl_bug16035.phpt] ``` The actual/expected diff is, ``` $ cat ext/oci8/tests/pecl_bug16035.diff 001- 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 001+ Warning: oci_connect(): Invalid character set name: jkl in /home/mjo/src/php-src/ext/oci8/tests/pecl_bug16035.php on line 3 003- Warning: oci_connect(): Error while trying to retrieve text for error ORA-01804 004- in %specl_bug16035.php on line %d 003+ Warning: oci_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in /home/mjo/src/php-src/ext/oci8/tests/pecl_bug16035.php on line 3 ``` This is with v21.3.0.0.0 of the instantclient. ### PHP Version git HEAD ### Operating System _No response_

« previous php.bugs (#245064) next »