diff options
| author | Baptiste Fontaine | 2015-04-05 18:32:00 +0200 |
|---|---|---|
| committer | Xu Cheng | 2015-04-06 01:31:00 +0800 |
| commit | 50985d9d28814ae32682de661650a3ab27962b65 (patch) | |
| tree | 1bc5930b2f98361275f12f3991945b315b5cf89b /Library/Formula | |
| parent | 71711d7b2e681ec42672ec18cb9bcb784cca1079 (diff) | |
| download | homebrew-50985d9d28814ae32682de661650a3ab27962b65.tar.bz2 | |
ipcalc: test added
Closes #38388.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ipcalc.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/ipcalc.rb b/Library/Formula/ipcalc.rb index 0418a0174..8405d2424 100644 --- a/Library/Formula/ipcalc.rb +++ b/Library/Formula/ipcalc.rb @@ -1,11 +1,13 @@ -require 'formula' - class Ipcalc < Formula - homepage 'http://jodies.de/ipcalc' - url 'http://jodies.de/ipcalc-archive/ipcalc-0.41.tar.gz' - sha1 'b75b498f2fa5ecfa30707a51da63c6a5775829f3' + homepage "http://jodies.de/ipcalc" + url "http://jodies.de/ipcalc-archive/ipcalc-0.41.tar.gz" + sha256 "dda9c571ce3369e5b6b06e92790434b54bec1f2b03f1c9df054c0988aa4e2e8a" def install bin.install "ipcalc" end + + test do + system "#{bin}/ipcalc", "--nobinary", "192.168.0.1/24" + end end |
