Skip to content

Commit d8f33a2

Browse files
committed
Add a CLEAN section
1 parent 9048e85 commit d8f33a2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ext/standard/tests/file/bug68335.phpt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@
22
Bug #68335: rmdir doesn't work with file:// stream wrapper
33
--FILE--
44
<?php
5-
$dir = 'file://' . __DIR__ . '/testDir';
5+
$dir = 'file://' . __DIR__ . '/test_68335_dir';
66
mkdir($dir);
77
var_dump(is_dir($dir));
88
rmdir($dir);
99
var_dump(is_dir($dir));
1010
?>
11+
--CLEAN--
12+
<?php
13+
$dir = __DIR__ . '/test_68335_dir';
14+
@rmdir($dir);
15+
?>
1116
--EXPECT--
1217
bool(true)
1318
bool(false)

0 commit comments

Comments
 (0)