From:             webmaster at ragnarokonline dot de
Operating system: 
PHP version:      5.0.2
PHP Bug Type:     Unknown/Other Function
Bug description:  MySQLi testsuite needs work

Description:
------------
The MySQLi-testsuite in ext/mysqli/tests needs some work.

When I'm running
TEST_PHP_EXECUTABLE=sapi/cli/php \
sapi/cli/php run-tests.php \
ext/mysqli/tests
nearly every test fails (or every test?), because something like 
--SKIPIF--
<?php include 'skipif.inc'; ?>
is missing, so I have to edit the connect.inc.
If I do, the following tests fail:
mysqli connect [ext/mysqli/tests/001.phpt]
mysqli connect [ext/mysqli/tests/003.phpt]
mysqli fetch functions [ext/mysqli/tests/017.phpt]
mysqli bind_param/bind_result date [ext/mysqli/tests/020.phpt]
mysqli bind_param/bind_result with send_long_data
[ext/mysqli/tests/026.phpt]
function test: mysqli_stat [ext/mysqli/tests/027.phpt]
function test: mysqli_character_set_name [ext/mysqli/tests/028.phpt]
function test: mysqli_affected_rows [ext/mysqli/tests/029.phpt]
function test: mysqli_errno [ext/mysqli/tests/030.phpt]
function test: mysqli_error [ext/mysqli/tests/031.phpt]
function test: mysqli_info [ext/mysqli/tests/032.phpt]
function test: mysqli_get_host_info [ext/mysqli/tests/033.phpt]
function test: mysqli_get_proto_info [ext/mysqli/tests/034.phpt]
function test: mysqli_get_server_info [ext/mysqli/tests/035.phpt]
mysql_fetch_row (OO-Style) [ext/mysqli/tests/049.phpt]
local infile handler [ext/mysqli/tests/061.phpt]
constructor test [ext/mysqli/tests/bug29311.phpt]

Reasons:
mysqli connect [ext/mysqli/tests/001.phpt],
mysqli bind_param/bind_result with send_long_data
[ext/mysqli/tests/026.phpt],
function test: mysqli_stat [ext/mysqli/tests/027.phpt],
function test: mysqli_character_set_name [ext/mysqli/tests/028.phpt],
function test: mysqli_affected_rows [ext/mysqli/tests/029.phpt],
function test: mysqli_errno [ext/mysqli/tests/030.phpt],
function test: mysqli_error [ext/mysqli/tests/031.phpt],
function test: mysqli_info [ext/mysqli/tests/032.phpt],
function test: mysqli_get_host_info [ext/mysqli/tests/033.phpt],
function test: mysqli_get_proto_info [ext/mysqli/tests/034.phpt],
function test: mysqli_get_server_info [ext/mysqli/tests/035.phpt] and
constructor test [ext/mysqli/tests/bug29311.phpt]
--> $host, $user, $passwd is hardcoded

mysqli connect [ext/mysqli/tests/017.phpt] and
mysql_fetch_row (OO-Style) [ext/mysqli/tests/049.phpt]
--> CURRENT_USER() is hardcoded ('[EMAIL PROTECTED]') in expected result

mysqli connect [ext/mysqli/tests/003.phpt] and
mysqli bind_param/bind_result date [ext/mysqli/tests/020.phpt]
--> expected result wrong, diff:
013+   string(19) "0000-00-00 00:00:00"
013-   string(0) ""

I have no idea, what went wrong in
local infile handler [ext/mysqli/tests/061.phpt]


-- 
Edit bug report at http://bugs.php.net/?id=30890&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30890&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=30890&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=30890&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30890&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30890&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30890&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30890&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30890&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30890&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30890&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=30890&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=30890&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30890&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30890&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30890&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30890&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30890&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30890&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30890&r=mysqlcfg

Reply via email to