cvs: php-src(PHP_5_3) /ext/mysqli/tests mysqli_connect_oo_warnings.phpt
| From: | Ulf Wendel | Date: | Fri, 29 May 2009 10:34:23 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/mysqli/tests mysqli_connect_oo_warnings.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-58390@lists.php.net to get a copy of this message | ||
uw Fri May 29 10:34:23 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/mysqli/tests mysqli_connect_oo_warnings.phpt
Log:
MFH: Weaker test - libmysql/server error messages can differ by version
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/mysqli_connect_oo_warnings.phpt?r1=1.3.2.2&r2=1.3.2.3&diff_format=u
Index: php-src/ext/mysqli/tests/mysqli_connect_oo_warnings.phpt
diff -u php-src/ext/mysqli/tests/mysqli_connect_oo_warnings.phpt:1.3.2.2
php-src/ext/mysqli/tests/mysqli_connect_oo_warnings.phpt:1.3.2.3
--- php-src/ext/mysqli/tests/mysqli_connect_oo_warnings.phpt:1.3.2.2 Wed Oct 10 10:13:47 2007
+++ php-src/ext/mysqli/tests/mysqli_connect_oo_warnings.phpt Fri May 29 10:34:23 2009
@@ -44,14 +44,14 @@
--EXPECTF--
1) bail
-Warning: mysqli::mysqli(): (HY000/2005): Unknown MySQL server host '%s' (1) in %s on line
%d
+Warning: mysqli::mysqli(): (HY000/200%d): %s
2) be quiet
-%s(%d) "Unknown MySQL server host '%s' (1)"
-int(2005)
+%s(%d) "%s"
+int(200%d)
3) bail
-Warning: mysqli_connect(): (HY000/2005): Unknown MySQL server host '%s' (1) in %s on line
%d
+Warning: mysqli_connect(): (HY000/200%d): %s
4) be quiet
-%s(%d) "Unknown MySQL server host '%s' (1)"
-int(2005)
+%s(%d) "%s"
+int(200%d)
done!
\ No newline at end of file