summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-10-18 00:06:20 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-10-18 00:06:20 +0000
commitd467331307e91c9464d3548c00f5dbc1fd3ff574 (patch)
treec2711904f079ee6d1f1dd17ddfca9b216eb28758
parentcdbf1938f2b83a1b20429f7758ce49d21e93f59f (diff)
downloadphp-git-d467331307e91c9464d3548c00f5dbc1fd3ff574.tar.gz
Fixed test for ZTS builds
-rw-r--r--ext/pdo_mysql/tests/bug_33689.phpt8
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)');