From: Stanislav Malyshev Date: Tue, 6 Sep 2011 05:21:56 +0000 (+0000) Subject: fix redirect when test run from different places X-Git-Tag: php-5.5.0alpha1~1312 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d465ee0565bf277ca6f62ce6f097d73b6a102c1e;p=php fix redirect when test run from different places --- diff --git a/ext/pdo_mysql/tests/common.phpt b/ext/pdo_mysql/tests/common.phpt index 8179454cf7..f55d1f883b 100644 --- a/ext/pdo_mysql/tests/common.phpt +++ b/ext/pdo_mysql/tests/common.phpt @@ -8,7 +8,7 @@ if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) print 'skip not # magic auto-configuration $config = array( - 'TESTS' => 'ext/pdo/tests' + 'TESTS' => __DIR__.'/ext/pdo/tests' ); if (false !== getenv('PDO_MYSQL_TEST_DSN')) {