cvs: php-src(PHP_5_1) /ext/pdo_mysql/tests bug_33689.phpt

From: Date: Tue, 18 Oct 2005 00:06:27 +0000
Subject: cvs: php-src(PHP_5_1) /ext/pdo_mysql/tests bug_33689.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-34640@lists.php.net to get a copy of this message
iliaa Mon Oct 17 20:06:27 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/ext/pdo_mysql/tests bug_33689.phpt Log: Fixed test for ZTS builds http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/tests/bug_33689.phpt?r1=1.1.2.1&r2=1.1.2.2&ty=u Index: php-src/ext/pdo_mysql/tests/bug_33689.phpt diff -u php-src/ext/pdo_mysql/tests/bug_33689.phpt:1.1.2.1 php-src/ext/pdo_mysql/tests/bug_33689.phpt:1.1.2.2 --- php-src/ext/pdo_mysql/tests/bug_33689.phpt:1.1.2.1 Thu Aug 11 19:45:22 2005 +++ php-src/ext/pdo_mysql/tests/bug_33689.phpt Mon Oct 17 20:06:20 2005 @@ -3,14 +3,14 @@ --SKIPIF-- <?php if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip not loaded'); -require 'ext/pdo_mysql/tests/config.inc'; -require 'ext/pdo/tests/pdo_test.inc'; +require dirname(__FILE__) . '/config.inc'; +require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc'; PDOTest::skip(); ?> --FILE-- <?php -require 'ext/pdo/tests/pdo_test.inc'; -$db = PDOTest::test_factory('ext/pdo_mysql/tests/common.phpt'); +require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc'; +$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt'); $db->exec('CREATE TABLE test (bar INT NOT NULL)'); $db->exec('INSERT INTO test VALUES(1)');

« previous php.cvs (#34640) next »