diff options
Diffstat (limited to 'ext/standard/tests/file/windows_acls/bug44859.phpt')
-rw-r--r-- | ext/standard/tests/file/windows_acls/bug44859.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/file/windows_acls/bug44859.phpt b/ext/standard/tests/file/windows_acls/bug44859.phpt index 952b6eb4c4..4454ee1173 100644 --- a/ext/standard/tests/file/windows_acls/bug44859.phpt +++ b/ext/standard/tests/file/windows_acls/bug44859.phpt @@ -37,7 +37,7 @@ echo "Testing directory:\n"; $path = __DIR__ . '/adir'; $i = 1; foreach ($iteration as $perms => $exp) { - create_file($path, $perms); + create_dir($path, $perms); clearstatcache(true, $path); echo 'Iteration #' . $i++ . ': '; if (is_writable($path) == $exp) { @@ -46,7 +46,7 @@ foreach ($iteration as $perms => $exp) { var_dump(is_writable($path), $exp); echo "failed.\n"; } - delete_file($path); + delete_dir($path); } ?> |