summaryrefslogtreecommitdiff
path: root/ext/phar/tests/pharfileinfo_getcrc32.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/pharfileinfo_getcrc32.phpt')
-rw-r--r--ext/phar/tests/pharfileinfo_getcrc32.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/tests/pharfileinfo_getcrc32.phpt b/ext/phar/tests/pharfileinfo_getcrc32.phpt
index 436ac7c590..277d96804a 100644
--- a/ext/phar/tests/pharfileinfo_getcrc32.phpt
+++ b/ext/phar/tests/pharfileinfo_getcrc32.phpt
@@ -7,7 +7,7 @@ phar.require_hash=0
phar.readonly=0
--FILE--
<?php
-$fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar';
+$fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar';
$pname = 'phar://' . $fname;
$file = "<?php
Phar::mapPhar('hio');
@@ -41,7 +41,7 @@ echo $e->getMessage() . "\n";
?>
===DONE===
--CLEAN--
-<?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar'); ?>
+<?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar'); ?>
--EXPECTF--
Phar entry is a directory, does not have a CRC
Phar entry was not CRC checked