From: Ferenc Kovacs Date: Thu, 8 Sep 2011 11:30:58 +0000 (+0000) Subject: skip these tests if can't connect to mysql X-Git-Tag: php-5.5.0alpha1~1216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f40fd8236e2b269296af6eaf79dfaf9239fa1ff9;p=php skip these tests if can't connect to mysql --- diff --git a/ext/mysql/tests/001.phpt b/ext/mysql/tests/001.phpt index 6f2e284deb..72b6614771 100755 --- a/ext/mysql/tests/001.phpt +++ b/ext/mysql/tests/001.phpt @@ -1,7 +1,10 @@ --TEST-- mysql connect --SKIPIF-- - + --FILE-- + --FILE-- --INI-- mysql.max_links=2 diff --git a/ext/mysql/tests/mysql_sql_safe_mode.phpt b/ext/mysql/tests/mysql_sql_safe_mode.phpt index 6c652fb579..4d8ca92e47 100644 --- a/ext/mysql/tests/mysql_sql_safe_mode.phpt +++ b/ext/mysql/tests/mysql_sql_safe_mode.phpt @@ -3,6 +3,7 @@ mysql_[p]connect() - safe_mode --SKIPIF--