diff options
Diffstat (limited to 'Library/Formula')
| -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 |
