diff options
Diffstat (limited to 'Library/Homebrew/cmd/test.rb')
| -rw-r--r-- | Library/Homebrew/cmd/test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/test.rb b/Library/Homebrew/cmd/test.rb index c4f322b60..616da440b 100644 --- a/Library/Homebrew/cmd/test.rb +++ b/Library/Homebrew/cmd/test.rb @@ -37,6 +37,9 @@ module Homebrew Utils.safe_fork do if Sandbox.available? && ARGV.sandbox? sandbox = Sandbox.new + logd = HOMEBREW_LOGS/f.name + logd.mkpath + sandbox.record_log(logd/"sandbox.test.log") sandbox.allow_write_temp_and_cache sandbox.allow_write_log(f) sandbox.exec(*args) |
