summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEyal Teutsch <eyalt@php.net>2010-12-26 09:47:50 +0000
committerEyal Teutsch <eyalt@php.net>2010-12-26 09:47:50 +0000
commit8533e37d0cd65aa34390c6c2bfe30ace72de30a7 (patch)
tree4fcc4d1e90ffa5b7c505ecb329c5d1c020adb990
parentd88a9a3f80e242f303c00333fa8c7a68e2a8fbf8 (diff)
downloadphp-git-8533e37d0cd65aa34390c6c2bfe30ace72de30a7.tar.gz
using PWD which is supported by run-tests.php, rather than $cwd
-rw-r--r--ext/phar/tests/cached_manifest_1.phpt2
-rw-r--r--ext/phar/tests/cached_manifest_1U.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/tests/cached_manifest_1.phpt b/ext/phar/tests/cached_manifest_1.phpt
index f6bd90339a..af58523e7b 100644
--- a/ext/phar/tests/cached_manifest_1.phpt
+++ b/ext/phar/tests/cached_manifest_1.phpt
@@ -6,7 +6,7 @@ if (!extension_loaded("phar")) die("skip");
if (version_compare(PHP_VERSION, "6.0", ">")) die("skip pre-unicode version of PHP required");
?>
--INI--
-phar.cache_list={$cwd}/files/nophar.phar
+phar.cache_list={PWD}/files/nophar.phar
--FILE--
<?php
$pname = 'phar://' . dirname(__FILE__) . '/files/nophar.phar';
diff --git a/ext/phar/tests/cached_manifest_1U.phpt b/ext/phar/tests/cached_manifest_1U.phpt
index 27b3f9ef3a..df77f07a79 100644
--- a/ext/phar/tests/cached_manifest_1U.phpt
+++ b/ext/phar/tests/cached_manifest_1U.phpt
@@ -6,7 +6,7 @@ if (!extension_loaded("phar")) die("skip");
if (version_compare(PHP_VERSION, "6.0", "<")) die("skip Unicode support required");
?>
--INI--
-phar.cache_list={$cwd}/files/nophar.phar
+phar.cache_list={PWD}/files/nophar.phar
--FILE--
<?php
$pname = 'phar://' . dirname(__FILE__) . '/files/nophar.phar';