Bug #61288 [Opn->Csd]: pdo_mysql___construct_options_libmysql.phpt test fails

From: Date: Tue, 06 Mar 2012 01:43:45 +0000
Subject: Bug #61288 [Opn->Csd]: pdo_mysql___construct_options_libmysql.phpt test fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-168188@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61288&edit=1 ID: 61288 Updated by: johannes@php.net Reported by: remi@php.net Summary: pdo_mysql___construct_options_libmysql.phpt test fails -Status: Open +Status: Closed Type: Bug Package: MySQL related Operating System: GNU/Linux (Fedora 16) PHP Version: 5.4.0 -Assigned To: +Assigned To: johannes Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2012-03-06 01:43:42] johannes@php.net Automatic comment from SVN on behalf of johannes Revision: http://svn.php.net/viewvc/?view=revision&revision=323932 Log: Apply test fix for bug #61288 pdo_mysql___construct_options_libmysql.phpt test fails ------------------------------------------------------------------------ [2012-03-05 15:19:32] remi@php.net Description: ------------ When no connexion is available, this test should not fails but be skipped (as the others) Please see trivial patch attached Sorry, I don't find a "pdo_mysql" in package list Test script: --------------- pear run-tests pdo_mysql___construct_options_libmysql.phpt Expected result: ---------------- Running 1 tests SKIP MySQL PDO->__construct(), libmysql only options[pdo_mysql___construct_options_libmysql.phpt](reason: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)) TOTAL TIME: 00:00 0 PASSED TESTS 1 SKIPPED TESTS Actual result: -------------- Running 1 tests FAIL MySQL PDO->__construct(), libmysql only options[pdo_mysql___construct_options_libmysql.phpt] wrote log to "/dev/shm/php-5.4.0/ext/pdo_mysql/tests/run-tests.log" TOTAL TIME: 00:01 0 PASSED TESTS 0 SKIPPED TESTS 1 FAILED TESTS: ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61288&edit=1

« previous php.bugs (#168188) next »