diff --git a/test/pdo_sqlsrv/PDO_ConnPool_Unix.phpt b/test/pdo_sqlsrv/PDO_ConnPool_Unix.phpt index d402ac93..79ec0f19 100644 --- a/test/pdo_sqlsrv/PDO_ConnPool_Unix.phpt +++ b/test/pdo_sqlsrv/PDO_ConnPool_Unix.phpt @@ -22,7 +22,7 @@ print_r(shell_exec("php ./test/pdo_sqlsrv/isPooled.php")); //disable pooling by modifying the odbcinst.ini file $current = file_get_contents($odbcinst_ini); -$current = str_replace("CPTimeout=5\n[ODBC]\nPooling=Yes\n",'',$current); +$current = str_replace($lines_to_add,'',$current); file_put_contents($odbcinst_ini, $current); print_r(shell_exec("php ./test/pdo_sqlsrv/isPooled.php"));