Skip to content

Commit

Permalink
Improve cleanup
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.php.net/repository/pear/packages/Archive_Tar/trunk@311710 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
mrook committed Jun 1, 2011
1 parent 5b985a8 commit 03b1c3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/deadlinks.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ echo 'tests done';
--CLEAN--
<?php
@rmdir('test/a');
@unlink('test/b');
@unlink('test/dir_link');
@unlink('test/file_link');
@unlink('test/dead_link');
@rmdir('test');
@unlink('test1.tar');
@unlink('test2.tar');
?>
--EXPECT--
tests done
4 changes: 4 additions & 0 deletions tests/dirtraversal.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,9 @@ $phpunit->assertErrors(array(
), 'after 2');
echo 'tests done';
?>
--CLEAN--
<?php
@rmdir('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa');
?>
--EXPECT--
tests done

0 comments on commit 03b1c3c

Please sign in to comment.