diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-10-18 00:15:02 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-10-18 00:15:02 +0000 |
commit | 03418c1d365b0ee79344232f58ad6cbe9797dc24 (patch) | |
tree | e0df3b7dd3df6665b950d1d20ac921fb005fc288 /ext/pdo_pgsql/tests | |
parent | 5a29be9b7d169600bad5a453efd169d861ebc2f6 (diff) | |
download | php-git-03418c1d365b0ee79344232f58ad6cbe9797dc24.tar.gz |
Fixed test for ZTS builds
Diffstat (limited to 'ext/pdo_pgsql/tests')
-rw-r--r-- | ext/pdo_pgsql/tests/bug_33876.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pdo_pgsql/tests/bug_33876.phpt b/ext/pdo_pgsql/tests/bug_33876.phpt index be16daf87c..1184e7627e 100644 --- a/ext/pdo_pgsql/tests/bug_33876.phpt +++ b/ext/pdo_pgsql/tests/bug_33876.phpt @@ -3,13 +3,13 @@ PDO PgSQL Bug #33876 --SKIPIF-- <?php if (!extension_loaded('pdo') || !extension_loaded('pdo_pgsql')) die('skip not loaded'); -require 'ext/pdo/tests/pdo_test.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_pgsql/tests/common.phpt'); +require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc'; +$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt'); $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT); $db->exec('CREATE TABLE test (foo varchar(5) NOT NULL, bar bool NOT NULL)'); |