On Thu, Feb 06 2014, Mike McQuaid wrote:
>> +class Bip < Formula
>> +  homepage "http://bip.milkypond.org"
>> +  url "https://projects.duckcorp.org/attachments/download/61/bip-0.8.9.tar.gz",
>> +    :using => CurlUnsafeDownloadStrategy
>> +  sha1 "6c6828dde0ec9c41237bac42a679aa8237bdeffe"
>> +
>> +  def install
>> +    system "./configure", "--disable-debug",
>> +                          "--disable-dependency-tracking",
>> +                          "--disable-silent-rules",
>> +                          "--prefix=#{prefix}"
>> +    system "make", "install"
>> +  end
>> +
>> +  test do
>> +    system "#{bin}/bip", "-v"
>
> Can this test be modified to actually do something more substantial
> then e.g. `--version` or `--help`? See `cmake.rb` for an example of a
> formula with a good test.

bip doesn't lend itself to a sensible test. I tried to add a test for
'bipmkpw', but it insists on reading from /dev/tty, which made adding
the test awkward - is there an example of how that can be done (without
requiring expect or similar)?