aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTuradg Aleahmad2013-02-28 19:40:35 -0500
committerJack Nagel2013-03-07 16:58:03 -0600
commit7b1c4e9813a355f1e9e6e078020d2540e674acae (patch)
treeb9392d4d21177665e8ab94bd31e39de011351435 /Library/Formula
parente55a98d269974fdd77dfd646925a7c4181363c28 (diff)
downloadhomebrew-7b1c4e9813a355f1e9e6e078020d2540e674acae.tar.bz2
New formula: slowhttptest
Closes #18149. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/slowhttptest.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/slowhttptest.rb b/Library/Formula/slowhttptest.rb
new file mode 100644
index 000000000..4bd249bb0
--- /dev/null
+++ b/Library/Formula/slowhttptest.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Slowhttptest < Formula
+ homepage 'http://code.google.com/p/slowhttptest/'
+ url 'http://slowhttptest.googlecode.com/files/slowhttptest-1.5.tar.gz'
+ sha1 'be3f125e1358150ec9c44e35438c79040822a6ef'
+
+ 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