diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-10-18 00:06:20 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-10-18 00:06:20 +0000 |
commit | d467331307e91c9464d3548c00f5dbc1fd3ff574 (patch) | |
tree | c2711904f079ee6d1f1dd17ddfca9b216eb28758 | |
parent | cdbf1938f2b83a1b20429f7758ce49d21e93f59f (diff) | |
download | php-git-d467331307e91c9464d3548c00f5dbc1fd3ff574.tar.gz |
Fixed test for ZTS builds
-rw-r--r-- | ext/pdo_mysql/tests/bug_33689.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/pdo_mysql/tests/bug_33689.phpt b/ext/pdo_mysql/tests/bug_33689.phpt index 6df6569564..609e3dce54 100644 --- a/ext/pdo_mysql/tests/bug_33689.phpt +++ b/ext/pdo_mysql/tests/bug_33689.phpt @@ -3,14 +3,14 @@ PDO MySQL Bug #33689 --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)'); |