Removed REPORT_EXIT_STATUS=no in libmysql tests

This commit is contained in:
Saki Takamachi 2024-02-18 21:39:00 +09:00
parent 07cbe3083a
commit 99688dbe7a
No known key found for this signature in database
GPG Key ID: E4A36F6D37931A8B
2 changed files with 6 additions and 5 deletions

View File

@ -14,7 +14,6 @@ runs:
export PDO_MYSQL_TEST_HOST=127.0.0.1
export PDO_MYSQL_TEST_USER=root
export PDO_MYSQL_TEST_PASS=root
export REPORT_EXIT_STATUS=no
sapi/cli/php run-tests.php -P -q \
-g FAIL,BORK,LEAK,XLEAK \
--no-progress --offline --show-diff --show-slow 1000 --set-timeout 120 \

View File

@ -13,6 +13,8 @@ MySQLPDOTest::skip();
require_once __DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc';
$pdo = MySQLPDOTest::factory();
$pdo->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, true);
$pdo->exec(<<<'SQL'
CREATE TABLE `test_gh11550` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
@ -51,9 +53,9 @@ array(1) {
[0]=>
array(4) {
["id"]=>
int(1)
string(1) "1"
[0]=>
int(1)
string(1) "1"
["name"]=>
string(5) "test1"
[1]=>
@ -66,9 +68,9 @@ array(1) {
[0]=>
array(6) {
["id"]=>
int(1)
string(1) "1"
[0]=>
int(1)
string(1) "1"
["name"]=>
string(5) "test1"
[1]=>