mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- fix tests (clean on exit)
This commit is contained in:
parent
3dadcee60b
commit
820c2002e4
2 changed files with 5 additions and 3 deletions
|
@ -47,8 +47,9 @@ for($i=0; $i < $zip->numFiles; $i++) {
|
|||
$ar = array_diff($found, $expect);
|
||||
|
||||
var_dump($ar);
|
||||
@unlink($file);
|
||||
unset($zip);
|
||||
unlink($file);
|
||||
?>
|
||||
--EXPECTF--
|
||||
array(0) {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,7 +63,8 @@ $sb = $zip->statIndex(1);
|
|||
var_dump($sb);
|
||||
$sb = $zip->statIndex(2);
|
||||
var_dump($sb);
|
||||
@unlink($file);
|
||||
unset($zip);
|
||||
unlink($file);
|
||||
?>
|
||||
--EXPECTF--
|
||||
ok
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue