File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
ext/standard/tests/file/windows_acls Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ echo "Testing directory:\n";
37
37
$ path = __DIR__ . '/adir ' ;
38
38
$ i = 1 ;
39
39
foreach ($ iteration as $ perms => $ exp ) {
40
- create_file ($ path , $ perms );
40
+ create_dir ($ path , $ perms );
41
41
clearstatcache (true , $ path );
42
42
echo 'Iteration # ' . $ i ++ . ': ' ;
43
43
if (is_writable ($ path ) == $ exp ) {
@@ -46,7 +46,7 @@ foreach ($iteration as $perms => $exp) {
46
46
var_dump (is_writable ($ path ), $ exp );
47
47
echo "failed. \n" ;
48
48
}
49
- delete_file ($ path );
49
+ delete_dir ($ path );
50
50
}
51
51
52
52
?>
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ echo "Testing directory:\n";
37
37
$ path = __DIR__ . '/adir ' ;
38
38
$ i = 1 ;
39
39
foreach ($ iteration as $ perms => $ exp ) {
40
- create_file ($ path , $ perms );
40
+ create_dir ($ path , $ perms );
41
41
clearstatcache (true , $ path );
42
42
echo 'Iteration # ' . $ i ++ . ': ' ;
43
43
if (is_readable ($ path ) == $ exp ) {
@@ -46,7 +46,7 @@ foreach ($iteration as $perms => $exp) {
46
46
var_dump (is_readable ($ path ), $ exp );
47
47
echo "failed. \n" ;
48
48
}
49
- delete_file ($ path );
49
+ delete_dir ($ path );
50
50
}
51
51
52
52
?>
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ echo "Testing directory with relative path:\n";
39
39
$ path = 'adir ' ;
40
40
$ i = 1 ;
41
41
foreach ($ iteration as $ perms => $ exp ) {
42
- create_file ($ path , $ perms );
42
+ create_dir ($ path , $ perms );
43
43
clearstatcache (true , $ path );
44
44
echo 'Iteration # ' . $ i ++ . ': ' ;
45
45
if (is_readable ($ path ) == $ exp ) {
@@ -48,7 +48,7 @@ foreach ($iteration as $perms => $exp) {
48
48
var_dump (is_readable ($ path ), $ exp );
49
49
echo "failed. \n" ;
50
50
}
51
- delete_file ($ path );
51
+ delete_dir ($ path );
52
52
}
53
53
54
54
?>
You can’t perform that action at this time.
0 commit comments