From:             remi
Operating system: GNU/Linux (Fedora 16)
PHP version:      5.4.0
Package:          MySQL related
Bug Type:         Bug
Bug description:pdo_mysql___construct_options_libmysql.phpt test fails

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 bug report at https://bugs.php.net/bug.php?id=61288&edit=1
-- 
Try a snapshot (PHP 5.4):            
https://bugs.php.net/fix.php?id=61288&r=trysnapshot54
Try a snapshot (PHP 5.3):            
https://bugs.php.net/fix.php?id=61288&r=trysnapshot53
Try a snapshot (trunk):              
https://bugs.php.net/fix.php?id=61288&r=trysnapshottrunk
Fixed in SVN:                        
https://bugs.php.net/fix.php?id=61288&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=61288&r=needdocs
Fixed in release:                    
https://bugs.php.net/fix.php?id=61288&r=alreadyfixed
Need backtrace:                      
https://bugs.php.net/fix.php?id=61288&r=needtrace
Need Reproduce Script:               
https://bugs.php.net/fix.php?id=61288&r=needscript
Try newer version:                   
https://bugs.php.net/fix.php?id=61288&r=oldversion
Not developer issue:                 
https://bugs.php.net/fix.php?id=61288&r=support
Expected behavior:                   
https://bugs.php.net/fix.php?id=61288&r=notwrong
Not enough info:                     
https://bugs.php.net/fix.php?id=61288&r=notenoughinfo
Submitted twice:                     
https://bugs.php.net/fix.php?id=61288&r=submittedtwice
register_globals:                    
https://bugs.php.net/fix.php?id=61288&r=globals
PHP 4 support discontinued:          
https://bugs.php.net/fix.php?id=61288&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=61288&r=dst
IIS Stability:                       
https://bugs.php.net/fix.php?id=61288&r=isapi
Install GNU Sed:                     
https://bugs.php.net/fix.php?id=61288&r=gnused
Floating point limitations:          
https://bugs.php.net/fix.php?id=61288&r=float
No Zend Extensions:                  
https://bugs.php.net/fix.php?id=61288&r=nozend
MySQL Configuration Error:           
https://bugs.php.net/fix.php?id=61288&r=mysqlcfg

Reply via email to