summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-05-11 15:55:07 +0000
committerAndrey Hristov <andrey@php.net>2010-05-11 15:55:07 +0000
commit70b6fd2ae4f034a13936d162bc84ce196297ad1a (patch)
tree89f2eb72e0867adb70628036fe6e66a3f549e801
parentcab261ea16ad3c30a56ce9a78d64fe95ff3352a4 (diff)
downloadphp-git-70b6fd2ae4f034a13936d162bc84ce196297ad1a.tar.gz
One more time fixing the tests, lets use $IS_MYSQLND which comes from connect.inc
-rw-r--r--ext/mysqli/tests/mysqli_mysqlnd_read_timeout_long.phpt2
-rw-r--r--ext/mysqli/tests/mysqli_mysqlnd_read_timeout_zero.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_long.phpt b/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_long.phpt
index 8b5e7d6a48..fcbf4e652e 100644
--- a/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_long.phpt
+++ b/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_long.phpt
@@ -6,7 +6,7 @@ require_once('skipif.inc');
require_once('skipifemb.inc');
require_once('skipifconnectfailure.inc');
-if (!stristr(mysqli_get_client_info(), 'mysqlnd')) {
+if (!$IS_MYSQLND) {
die("skip: test applies only to mysqlnd");
}
diff --git a/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_zero.phpt b/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_zero.phpt
index dd34d7da62..eb4c431e7d 100644
--- a/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_zero.phpt
+++ b/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_zero.phpt
@@ -6,7 +6,7 @@ require_once('skipif.inc');
require_once('skipifemb.inc');
require_once('skipifconnectfailure.inc');
-if (!stristr(mysqli_get_client_info(), 'mysqlnd')) {
+if (!$IS_MYSQLND) {
die("skip: test applies only to mysqlnd");
}