com php-src: Fixed tests (mysqlnd only): ext/mysql/tests/bug55473.phpt

From: Date: Mon, 24 Mar 2014 05:45:18 +0000
Subject: com php-src: Fixed tests (mysqlnd only): ext/mysql/tests/bug55473.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-77586@lists.php.net to get a copy of this message
Commit: 7caf93a785b596a0ec66b262860e37414023836a Author: Xinchen Hui <laruence@gmail.com> Mon, 24 Mar 2014 13:45:18 +0800 Parents: 506f6a428267379b4aceb91d3a66d0762f3fd3a3 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7caf93a785b596a0ec66b262860e37414023836a Log: Fixed tests (mysqlnd only) Changed paths: M ext/mysql/tests/bug55473.phpt Diff: diff --git a/ext/mysql/tests/bug55473.phpt b/ext/mysql/tests/bug55473.phpt index 98fd009..7d149dc 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"); ?>

« previous php.cvs (#77586) next »