summaryrefslogtreecommitdiff
path: root/ext/spl/tests/SplFileInfo_getPerms_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/SplFileInfo_getPerms_basic.phpt')
-rw-r--r--ext/spl/tests/SplFileInfo_getPerms_basic.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/spl/tests/SplFileInfo_getPerms_basic.phpt b/ext/spl/tests/SplFileInfo_getPerms_basic.phpt
index e9b7beaa9..53591f341 100644
--- a/ext/spl/tests/SplFileInfo_getPerms_basic.phpt
+++ b/ext/spl/tests/SplFileInfo_getPerms_basic.phpt
@@ -16,15 +16,15 @@ if (substr(PHP_OS, 0, 3) == 'WIN') die("skip this test not for Windows platforms
<?php
//file
-touch ('test_file_ptfi');
-chmod('test_file_ptfi', 0557);
-$fileInfo = new SplFileInfo('test_file_ptfi');
+touch ('SplFileInfo_getPerms_basic.txt');
+chmod('SplFileInfo_getPerms_basic.txt', 0557);
+$fileInfo = new SplFileInfo('SplFileInfo_getPerms_basic.txt');
var_dump($fileInfo->getPerms() == 0100557);
?>
--CLEAN--
<?php
-unlink('test_file_ptfi');
+unlink('SplFileInfo_getPerms_basic.txt');
?>
--EXPECTF--
bool(true)