Allow access to lock directory inside tests.

This commit is contained in:
Markus Reiter 2018-10-17 14:23:02 +02:00
parent 178db5dca5
commit b7ea9e1830

View File

@ -87,6 +87,7 @@ module Homebrew
sandbox.allow_write_log(f)
sandbox.allow_write_xcode
sandbox.allow_write_path(HOMEBREW_PREFIX/"var/cache")
sandbox.allow_write_path(HOMEBREW_PREFIX/"var/homebrew/locks")
sandbox.allow_write_path(HOMEBREW_PREFIX/"var/log")
sandbox.allow_write_path(HOMEBREW_PREFIX/"var/run")
sandbox.exec(*args)