2013-03-01 00:40:35 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Slowhttptest < Formula
|
|
|
|
homepage 'http://code.google.com/p/slowhttptest/'
|
2014-03-05 07:22:08 +00:00
|
|
|
url 'https://slowhttptest.googlecode.com/files/slowhttptest-1.6.tar.gz'
|
2013-12-07 04:31:42 +00:00
|
|
|
sha1 'f5a64365b987083015ac98f6c20746021176292e'
|
2013-03-01 00:40:35 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/slowhttptest", *%w{-u http://google.com -p 1 -r 1 -l 1 -i 1}
|
|
|
|
end
|
|
|
|
end
|