Skip to content
This repository was archived by the owner on Mar 12, 2019. It is now read-only.

Commit de9cb69

Browse files
authored
Merge pull request #5123 from reitermarkus/test-locks
Allow access to lock directory inside tests.
2 parents a89dd3e + b7ea9e1 commit de9cb69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Library/Homebrew/dev-cmd/test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ def test
8787
sandbox.allow_write_log(f)
8888
sandbox.allow_write_xcode
8989
sandbox.allow_write_path(HOMEBREW_PREFIX/"var/cache")
90+
sandbox.allow_write_path(HOMEBREW_PREFIX/"var/homebrew/locks")
9091
sandbox.allow_write_path(HOMEBREW_PREFIX/"var/log")
9192
sandbox.allow_write_path(HOMEBREW_PREFIX/"var/run")
9293
sandbox.exec(*args)

0 commit comments

Comments
 (0)