Skip to content

Commit

Permalink
slowhttptest: use secure url in test
Browse files Browse the repository at this point in the history
update homepage
add head

Closes Homebrew/legacy-homebrew#46151.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
vszakats authored and DomT4 committed Nov 19, 2015
1 parent 7f2f09b commit 7d8f876
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Formula/slowhttptest.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
class Slowhttptest < Formula
desc "Simulates application layer denial of service attacks"
homepage "https://code.google.com/p/slowhttptest/"
homepage "https://github.com/shekyan/slowhttptest"
url "https://slowhttptest.googlecode.com/files/slowhttptest-1.6.tar.gz"
sha256 "77c54a64cfa5f12a84729833d9b98d5f27f828f51a5e42ad5914482d0b2bd0d6"
head "https://github.com/shekyan/slowhttptest.git"
revision 1

bottle do
Expand All @@ -20,6 +21,6 @@ def install
end

test do
system "#{bin}/slowhttptest", *%w[-u http://google.com -p 1 -r 1 -l 1 -i 1]
system "#{bin}/slowhttptest", *%w[-u https://google.com -p 1 -r 1 -l 1 -i 1]
end
end

0 comments on commit 7d8f876

Please sign in to comment.