cvs: php-src /ext/mysqli/tests skipif.inc

From: Date: Thu, 12 Jul 2007 20:07:05 +0000
Subject: cvs: php-src /ext/mysqli/tests skipif.inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-45315@lists.php.net to get a copy of this message
uw Thu Jul 12 20:07:05 2007 UTC Modified files: /php-src/ext/mysqli/tests skipif.inc Log: Some tests intentionally fail connecting to the DB. Not being able to connect is no reason to skip the test. Also, no test should have hard-wired connection parameter in it. Connection parameters come from connect.inc (see environment variables in connect.inc). http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/skipif.inc?r1=1.6&r2=1.7&diff_format=u Index: php-src/ext/mysqli/tests/skipif.inc diff -u php-src/ext/mysqli/tests/skipif.inc:1.6 php-src/ext/mysqli/tests/skipif.inc:1.7 --- php-src/ext/mysqli/tests/skipif.inc:1.6 Tue Sep 26 13:06:13 2006 +++ php-src/ext/mysqli/tests/skipif.inc Thu Jul 12 20:07:05 2007 @@ -2,8 +2,4 @@ if (!extension_loaded('mysqli')){ die('skip mysqli extension not available'); } -include "connect.inc"; -if (!@mysqli_connect($host, $user, $passwd, "", 3306)) { - die('skip could not connect to MySQL'); -} ?>

« previous php.cvs (#45315) next »