aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2010-10-25 09:28:36 -0700
committerAdam Vandenberg2010-10-25 09:31:06 -0700
commitee72f25b88c40defb261747ba4619ee326fa1830 (patch)
tree7591ba0df829a8bd5410f9d78bc195e36265d91f
parentb602128a838c372a1d2d5919bcef4518f3deb9af (diff)
downloadbrew-ee72f25b88c40defb261747ba4619ee326fa1830.tar.bz2
brew-test - make ENV available to tests
-rwxr-xr-xLibrary/Contributions/examples/brew-test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Contributions/examples/brew-test.rb b/Library/Contributions/examples/brew-test.rb
index ac57a317a..fad657c4d 100755
--- a/Library/Contributions/examples/brew-test.rb
+++ b/Library/Contributions/examples/brew-test.rb
@@ -1,3 +1,6 @@
+require 'extend/ENV'
+ENV.extend(HomebrewEnvExtension)
+
ARGV.formulae.each do |f|
# Cannot test uninstalled formulae
unless f.installed?