aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_formula.rb4
-rw-r--r--Library/Homebrew/test/testing_env.rb7
2 files changed, 8 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_formula.rb b/Library/Homebrew/test/test_formula.rb
index 5c6b78772..456c81937 100644
--- a/Library/Homebrew/test/test_formula.rb
+++ b/Library/Homebrew/test/test_formula.rb
@@ -171,14 +171,14 @@ class FormulaTests < Test::Unit::TestCase
assert_instance_of Bottle, f.bottle
assert_equal CurlBottleDownloadStrategy, f.bottle.download_strategy
assert_nil f.bottle.specs
- assert_nil f.bottle.mirrors
+ assert f.bottle.mirrors.empty?
assert_equal 'file:///foo.com/testball-0.1-bottle.tar.gz', f.bottle.url
assert_instance_of Checksum, f.bottle.checksum
assert_equal :sha1, f.bottle.checksum.hash_type
assert !f.bottle.checksum.empty?
- assert_equal 'baadf00dbaadf00dbaadf00dbaadf00dbaadf00d', f.bottle.sha1.hexdigest
+ assert_equal 'deadbeefdeadbeefdeadbeefdeadbeefdeadbeef', f.bottle.sha1.hexdigest
assert_nil f.bottle.md5
assert_nil f.bottle.sha256
diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb
index a93fe6872..a35ad3f49 100644
--- a/Library/Homebrew/test/testing_env.rb
+++ b/Library/Homebrew/test/testing_env.rb
@@ -20,10 +20,15 @@ HOMEBREW_REPOSITORY=HOMEBREW_PREFIX
HOMEBREW_CACHE=HOMEBREW_PREFIX.parent+"cache"
HOMEBREW_CACHE_FORMULA=HOMEBREW_PREFIX.parent+"formula_cache"
HOMEBREW_CELLAR=HOMEBREW_PREFIX.parent+"cellar"
+HOMEBREW_LOGS = HOMEBREW_PREFIX.parent+"logs"
HOMEBREW_USER_AGENT="Homebrew"
HOMEBREW_WWW='http://example.com'
HOMEBREW_CURL_ARGS = '-fsLA'
-MACOS_VERSION=10.6
+HOMEBREW_VERSION = '0.9-test'
+
+MACOS = true
+MACOS_VERSION = 10.6
+MACOS_FULL_VERSION = '10.6.8'
(HOMEBREW_PREFIX+'Library/Formula').mkpath