#!/usr/bin/ruby $:.unshift File.dirname(__FILE__) require 'formula' require 'pathname+yeast' require 'stringio' require 'test/unit' require 'utils' # these are defined in env usually, but we want a fake place for everything init HOMEBREW_VERSION='1t' HOMEBREW_CACHE="/tmp/testbrew" HOMEBREW_PREFIX=Pathname.new(HOMEBREW_CACHE)+'prefix' HOMEBREW_CELLAR=Pathname.new(HOMEBREW_CACHE)+'cellar' class TestFormula