diff options
| author | Turadg Aleahmad | 2013-02-28 19:40:35 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-03-07 16:58:03 -0600 |
| commit | 7b1c4e9813a355f1e9e6e078020d2540e674acae (patch) | |
| tree | b9392d4d21177665e8ab94bd31e39de011351435 /Library | |
| parent | e55a98d269974fdd77dfd646925a7c4181363c28 (diff) | |
| download | homebrew-7b1c4e9813a355f1e9e6e078020d2540e674acae.tar.bz2 | |
New formula: slowhttptest
Closes #18149.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/slowhttptest.rb | 16 |
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 |
