Skip to content

Commit

Permalink
Merge pull request #45 from ashnazg/tests-cleanup
Browse files Browse the repository at this point in the history
Tests cleanup
  • Loading branch information
mcdruid authored Jan 29, 2024
2 parents 32ef9ea + d663662 commit f7b6549
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 31 deletions.
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion tests/evil_symlink_win.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ echo 'tests done';
?>
--CLEAN--
<?php
unlink(dirname(__FILE__) . '/evil_symlink_win/evil.txt');
@unlink(dirname(__FILE__) . '/evil_symlink_win/evil.txt');
rmdir(dirname(__FILE__) . '/evil_symlink_win');
?>
--EXPECT--
Expand Down
2 changes: 1 addition & 1 deletion tests/out_of_path_relative.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ echo 'tests done';
--CLEAN--
<?php
unlink(dirname(__FILE__) . '/one/two/secret.txt');
unlink(dirname(__FILE__) . '/one/two/three/four/five/six/evil.txt');
@unlink(dirname(__FILE__) . '/one/two/three/four/five/six/evil.txt');
rmdir(dirname(__FILE__) . '/one/two/three/four/five/six');
rmdir(dirname(__FILE__) . '/one/two/three/four/five');
rmdir(dirname(__FILE__) . '/one/two/three/four');
Expand Down

0 comments on commit f7b6549

Please sign in to comment.