diff options
author | Xinchen Hui <laruence@gmail.com> | 2014-03-24 13:45:18 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2014-03-24 13:45:18 +0800 |
commit | 7caf93a785b596a0ec66b262860e37414023836a (patch) | |
tree | ea34ca1a22e2a9afa0543b26663f3bb81b7eb816 | |
parent | 506f6a428267379b4aceb91d3a66d0762f3fd3a3 (diff) | |
download | php-git-7caf93a785b596a0ec66b262860e37414023836a.tar.gz |
Fixed tests (mysqlnd only)
-rw-r--r-- | ext/mysql/tests/bug55473.phpt | 3 |
1 files changed, 3 insertions, 0 deletions
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"); ?> |