mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
2bd58dbcc4
* PHP-8.0: Fix pdo_dblib ext test conflicts when run in parallel |
||
---|---|---|
.. | ||
batch_stmt_ins_exec.phpt | ||
batch_stmt_ins_sel_up_del.phpt | ||
batch_stmt_ins_up.phpt | ||
batch_stmt_rowcount.phpt | ||
batch_stmt_transaction.phpt | ||
batch_stmt_try.phpt | ||
bug_38955.phpt | ||
bug_45876.phpt | ||
bug_47588.phpt | ||
bug_50755.phpt | ||
bug_54648.phpt | ||
bug_67130.phpt | ||
bug_68957.phpt | ||
bug_69592.phpt | ||
bug_69757.phpt | ||
bug_71667.phpt | ||
bug_73396.phpt | ||
common.phpt | ||
config.inc | ||
CONFLICTS | ||
datetime2.phpt | ||
datetime_convert.phpt | ||
dbtds.phpt | ||
dbversion.phpt | ||
pdo_dblib_param_str_natl.phpt | ||
pdo_dblib_quote.phpt | ||
README.md | ||
stringify_uniqueidentifier.phpt | ||
timeout.phpt | ||
types.phpt |
The pdo_mysql extension tests
This extension can be tested using Microsoft's Docker image for SQL Server on Linux:
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=<YourStrong@Passw0rd>" -p 1433:1433 --name sql1 -h sql1 -d mcr.microsoft.com/mssql/server:2019-latest
docker exec sql1 /opt/mssql-tools/bin/sqlcmd -S 127.0.0.1 -U SA -P "<YourStrong@Passw0rd>" -Q "create login pdo_test with password='password', check_policy=off; create user pdo_test for login pdo_test; grant alter, control to pdo_test;"
# and then from the root of php-src
PDO_DBLIB_TEST_DSN="dblib:host=127.0.0.1;dbname=master;version=7.0" PDO_DBLIB_TEST_USER="pdo_test" PDO_DBLIB_TEST_PASS="password" TESTS=ext/pdo_dblib make test