aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMike McQuaid2016-11-26 16:32:48 +0000
committerMike McQuaid2016-11-26 16:32:48 +0000
commite330047ff9881eee9cbad8828ed1ef2f16b3050e (patch)
treedfc674af1bcddeca61232f3befa2a070e5755e5e /Library/Homebrew/test
parent78fdb470cbf09e78b302e8f1bfe929d356a02de0 (diff)
downloadbrew-e330047ff9881eee9cbad8828ed1ef2f16b3050e.tar.bz2
diagnostic: silence a Jenkins doctor warning.
Allow our Jenkins CI testing for Homebrew/brew to live outside of `/usr/local` without complaint (as it's not using any binary packages anyway).
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/diagnostic_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/test/diagnostic_test.rb b/Library/Homebrew/test/diagnostic_test.rb
index aa2e44cfc..c9bb524b0 100644
--- a/Library/Homebrew/test/diagnostic_test.rb
+++ b/Library/Homebrew/test/diagnostic_test.rb
@@ -84,6 +84,7 @@ class DiagnosticChecksTest < Homebrew::TestCase
end
def test_check_homebrew_prefix
+ ENV.delete("JENKINS_HOME")
# the integration tests are run in a special prefix
assert_match "Your Homebrew's prefix is not /usr/local.",
@checks.check_homebrew_prefix