mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
make dang sure this ridiculous test cleans up after itself
This commit is contained in:
parent
8657ab7e5a
commit
68dc76a9ab
1 changed files with 6 additions and 1 deletions
|
@ -24,7 +24,12 @@ echo("\n Written Files($i)\n");
|
|||
===DONE===
|
||||
--CLEAN--
|
||||
<?php
|
||||
unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php');
|
||||
$dirName = dirname(__FILE__);
|
||||
$fileDir="$dirName/test_data";
|
||||
for($i=0; $i<16*1024; $i++){
|
||||
unlink("$fileDir/$i");
|
||||
}
|
||||
rmdir($fileDir);
|
||||
__HALT_COMPILER();
|
||||
?>
|
||||
--EXPECT--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue