summaryrefslogtreecommitdiff
path: root/ext/pdo_pgsql/tests
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-10-18 00:15:02 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-10-18 00:15:02 +0000
commit03418c1d365b0ee79344232f58ad6cbe9797dc24 (patch)
treee0df3b7dd3df6665b950d1d20ac921fb005fc288 /ext/pdo_pgsql/tests
parent5a29be9b7d169600bad5a453efd169d861ebc2f6 (diff)
downloadphp-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.phpt6
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)');