Skip to content
Browse files

Improve cleanup

git-svn-id: https://svn.php.net/repository/pear/packages/Archive_Tar/trunk@311710 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 5b985a8 commit 03b1c3cd778d5c8e18291bef729fd11d8facf080 @mrook mrook committed
Showing with 7 additions and 0 deletions.
  1. +3 −0 tests/deadlinks.phpt
  2. +4 −0 tests/dirtraversal.phpt
View
3 tests/deadlinks.phpt
@@ -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
View
4 tests/dirtraversal.phpt
@@ -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.
Something went wrong with that request. Please try again.