Skip to content

Commit 9bcc99b

Browse files
committed
add cleanups
1 parent 27b6f18 commit 9bcc99b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ext/zip/tests/bug_gh21705.phpt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ZipArchive::getFromIndex() honors FL_UNCHANGED for deleted entries
44
zip
55
--FILE--
66
<?php
7-
$name = __DIR__ . '/test.zip';
7+
$name = __DIR__ . '/bug_gh21705.zip';
88
@unlink($name);
99
$zip = new ZipArchive;
1010
$zip->open($name, ZipArchive::CREATE);
@@ -22,6 +22,10 @@ var_dump($zip->getFromName('bar.txt', 0, ZipArchive::FL_UNCHANGED));
2222
var_dump($zip->getFromIndex($index, 0, ZipArchive::FL_UNCHANGED));
2323

2424
$zip->close();
25+
?>
26+
--CLEAN--
27+
<?php
28+
$name = __DIR__ . '/bug_gh21705.zip';
2529
@unlink($name);
2630
?>
2731
--EXPECT--

0 commit comments

Comments
 (0)