Skip to content

Commit a648d39

Browse files
NattyNarwhalGirgias
authored andcommittedSep 6, 2023
ODBC unit tests shouldn't override odbc.ini location
`ext/odbc/tests/config.inc` overrides the INIs used for the ODBC driver manager pointlessly. It's not pointing to some custom PHP test suite specific one, but the system one in `/etc/odbc(inst).ini`. Which doesn't necessarily exist, on i.e. NixOS, MacPorts, etc. Closes GH-12133 Signed-off-by: George Peter Banyard <girgias@php.net>
1 parent 5a2b251 commit a648d39

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎ext/odbc/tests/config.inc

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
putenv('ODBCINI=/etc/odbc.ini');
4-
putenv('ODBCSYSINI=/etc');
5-
63
$dsn = getenv("ODBC_TEST_DSN");
74
$user = getenv("ODBC_TEST_USER");
85
$pass = getenv("ODBC_TEST_PASS");

0 commit comments

Comments
 (0)
Failed to load comments.