aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/os
diff options
context:
space:
mode:
authorAlyssa Ross2017-01-22 19:47:38 +0000
committerGitHub2017-01-22 19:47:38 +0000
commit6f305ad3dcd01a21b5c5836339338eeb47a239cf (patch)
treea1f4856e5b162e898a535589358599e1390fac0c /Library/Homebrew/test/os
parent7c27bfd37accbe3b3779d31d41feb51988fd37d0 (diff)
parent6861451f87316ce339af55eaa8e63e5ef8c5021b (diff)
downloadbrew-6f305ad3dcd01a21b5c5836339338eeb47a239cf.tar.bz2
Merge pull request #1892 from alyssais/global_teardown_fs
tests: clean up file system for all tests
Diffstat (limited to 'Library/Homebrew/test/os')
-rw-r--r--Library/Homebrew/test/os/mac/keg_test.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/Homebrew/test/os/mac/keg_test.rb b/Library/Homebrew/test/os/mac/keg_test.rb
index 5f215bd06..d1103415d 100644
--- a/Library/Homebrew/test/os/mac/keg_test.rb
+++ b/Library/Homebrew/test/os/mac/keg_test.rb
@@ -30,11 +30,9 @@ class OSMacLinkTests < Homebrew::TestCase
def teardown
@keg.unlink
- @keg.uninstall
$stdout = @old_stdout
- rmtree HOMEBREW_PREFIX/"bin"
rmtree HOMEBREW_PREFIX/"lib"
super
@@ -52,7 +50,6 @@ class OSMacLinkTests < Homebrew::TestCase
assert_equal 1, keg.mach_o_files.size
ensure
keg.unlink
- keg.uninstall
end
def test_mach_o_files_isnt_confused_by_symlinks
@@ -68,6 +65,5 @@ class OSMacLinkTests < Homebrew::TestCase
assert_equal 1, keg.mach_o_files.size
ensure
keg.unlink
- keg.uninstall
end
end