#30890 [Opn->Csd]: MySQLi testsuite needs work
| From: | georg@php.net | Date: | Sat, 04 Dec 2004 09:04:10 +0000 |
| Subject: | #30890 [Opn->Csd]: MySQLi testsuite needs work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-69790@lists.php.net to get a copy of this message | ||
ID: 30890
Updated by: georg@php.net
Reported By: webmaster at ragnarokonline dot de
-Status: Open
+Status: Closed
Bug Type: Unknown/Other Function
PHP Version: 5.0.2
New Comment:
This bug has been fixed in CVS.
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/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-11-25 03:17:19] webmaster at ragnarokonline dot de
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 ('root@localhost') 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 this bug report at http://bugs.php.net/?id=30890&edit=1