From acc9a7ca8554bc2413dee2d6d0f407b3a59c628c Mon Sep 17 00:00:00 2001 From: Andrew Janke Date: Sun, 10 Apr 2016 22:53:56 -0400 Subject: brew test, install, update-test: add --keep-tmp option Also enables sandbox for --interactive and --debug use of install and test, using automatic retention. Closes #66. Signed-off-by: Andrew Janke --- Library/Homebrew/test/test_patching.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Library/Homebrew/test') diff --git a/Library/Homebrew/test/test_patching.rb b/Library/Homebrew/test/test_patching.rb index 8a18125ef..a87741807 100644 --- a/Library/Homebrew/test/test_patching.rb +++ b/Library/Homebrew/test/test_patching.rb @@ -122,7 +122,7 @@ class PatchingTests < Homebrew::TestCase url PATCH_URL_A sha256 PATCH_A_SHA256 end - end.brew(&:patch) + end.brew { |f, _staging| f.patch } end end end @@ -136,7 +136,7 @@ class PatchingTests < Homebrew::TestCase sha256 TESTBALL_PATCHES_SHA256 apply APPLY_A end - end.brew(&:patch) + end.brew { |f, _staging| f.patch } end end end @@ -234,7 +234,7 @@ class PatchingTests < Homebrew::TestCase sha256 TESTBALL_PATCHES_SHA256 apply "patches/#{APPLY_A}" end - end.brew(&:patch) + end.brew { |f, _staging| f.patch } end end end -- cgit v1.2.3