From: Xinchen Hui Date: Mon, 24 Mar 2014 05:45:18 +0000 (+0800) Subject: Fixed tests (mysqlnd only) X-Git-Tag: POST_PHPNG_MERGE~412^2~231 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7caf93a785b596a0ec66b262860e37414023836a;p=php Fixed tests (mysqlnd only) --- diff --git a/ext/mysql/tests/bug55473.phpt b/ext/mysql/tests/bug55473.phpt index 98fd0091dc..7d149dc6fd 100644 --- a/ext/mysql/tests/bug55473.phpt +++ b/ext/mysql/tests/bug55473.phpt @@ -8,6 +8,9 @@ if (defined('PHP_WINDOWS_VERSION_MAJOR')) { die("skip Test doesn't work on Windows"); } +if (!$IS_MYSQLND) + die("skip mysqlnd only, libmysql does not warning about server gone away"); + if (!($output = @exec("lsof -np " . getmypid()))) die("skip Test can't find command line tool lsof"); ?>