]> granicus.if.org Git - php/commitdiff
ZTS test fix
authorIlia Alshanetsky <iliaa@php.net>
Tue, 18 Oct 2005 00:17:27 +0000 (00:17 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 18 Oct 2005 00:17:27 +0000 (00:17 +0000)
ext/pdo_sqlite/tests/bug33841.phpt

index 936aebf98f2ae645f288f1c41fcb5cbd94dce86f..d472af770e1668a02580f20018ed3d8712f33c25 100644 (file)
@@ -6,8 +6,8 @@ if (!extension_loaded('pdo_sqlite')) print 'skip not loaded';
 ?>
 --FILE--
 <?php
-require 'ext/pdo/tests/pdo_test.inc';
-$db = PDOTest::test_factory('ext/pdo_sqlite/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 (text)');