diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/tcping.rb | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Library/Formula/tcping.rb b/Library/Formula/tcping.rb index 344c6abe9..4ffd7a9a0 100644 --- a/Library/Formula/tcping.rb +++ b/Library/Formula/tcping.rb @@ -1,12 +1,14 @@ -require 'formula' - class Tcping < Formula - homepage 'http://www.linuxco.de/tcping/tcping.html' - url 'http://www.linuxco.de/tcping/tcping-1.3.5.tar.gz' - sha1 'ecc5fe7fb2f8e86a1fc2d09651310b26fa922c7b' + homepage "http://www.linuxco.de/tcping/tcping.html" + url "http://www.linuxco.de/tcping/tcping-1.3.5.tar.gz" + sha1 "ecc5fe7fb2f8e86a1fc2d09651310b26fa922c7b" def install system "make" - bin.install 'tcping' + bin.install "tcping" + end + + test do + system "#{bin}/tcping", "www.google.com", "80" end end |
