]> granicus.if.org Git - php/commitdiff
Fixed test for ZTS builds
authorIlia Alshanetsky <iliaa@php.net>
Tue, 18 Oct 2005 00:06:20 +0000 (00:06 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 18 Oct 2005 00:06:20 +0000 (00:06 +0000)
ext/pdo_mysql/tests/bug_33689.phpt

index 6df65695648ae65407812a6259c1ae2c8dc4aa3f..609e3dce54be7f4cbddbb7174fccd5bce61f8746 100644 (file)
@@ -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)');