]> granicus.if.org Git - php/commitdiff
Fixed tests (mysqlnd only)
authorXinchen Hui <laruence@gmail.com>
Mon, 24 Mar 2014 05:45:18 +0000 (13:45 +0800)
committerXinchen Hui <laruence@gmail.com>
Mon, 24 Mar 2014 05:45:18 +0000 (13:45 +0800)
ext/mysql/tests/bug55473.phpt

index 98fd0091dcd166f35976f702b371f61f74f6087c..7d149dc6fd756d603455cc3508f55f3de76270d5 100644 (file)
@@ -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");
 ?>