From ce7b32cec835bb658df75a0c691db9a97921163c Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Sun, 20 Mar 2016 01:44:36 +0800 Subject: add HOMEBREW_ENV_PATH internal variable `Library/ENV` like `Library/Homebrew` is part of Homebrew basecode. It should be able to be accessed during the `brew tests`. By adding HOMEBREW_ENV_PATH variable, we allow test suit to locate these codes. --- Library/Homebrew/test/testing_env.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/test/testing_env.rb') diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb index d0c1d500d..8b76dee2c 100644 --- a/Library/Homebrew/test/testing_env.rb +++ b/Library/Homebrew/test/testing_env.rb @@ -6,7 +6,7 @@ require "global" require "formulary" # Test environment setup -%w[ENV Formula].each { |d| HOMEBREW_LIBRARY.join(d).mkpath } +HOMEBREW_LIBRARY.join("Formula").mkpath %w[cache formula_cache cellar logs].each { |d| HOMEBREW_PREFIX.parent.join(d).mkpath } # Test fixtures and files can be found relative to this path -- cgit v1.2.3