summaryrefslogtreecommitdiff
path: root/ext/phar/tests/tar/033.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/tar/033.phpt')
-rw-r--r--ext/phar/tests/tar/033.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/tests/tar/033.phpt b/ext/phar/tests/tar/033.phpt
index b1cbef2acd..f07dd7f48a 100644
--- a/ext/phar/tests/tar/033.phpt
+++ b/ext/phar/tests/tar/033.phpt
@@ -8,7 +8,7 @@ phar.require_hash=0
--FILE--
<?php
-$fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar';
+$fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.tar';
$alias = 'phar://hio';
$phar = new Phar($fname);
@@ -37,7 +37,7 @@ try {
===DONE===
--CLEAN--
<?php
-unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar');
+unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.tar');
?>
--EXPECT--
bool(false)