aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2013-01-27 22:37:52 +0000
committerMike McQuaid2013-01-30 21:29:20 -0800
commitfb113db29a5a7a2cb218ac6c2f1c1aeb118f9ce8 (patch)
tree6bd8870742ce93e3ec97c21024542a9f25e14af8 /Library/Formula
parent09d7bd71a88167495522a984dc1413cdc1281a0e (diff)
downloadhomebrew-fb113db29a5a7a2cb218ac6c2f1c1aeb118f9ce8.tar.bz2
geoip: add test.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/geoip.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/geoip.rb b/Library/Formula/geoip.rb
index 3062072ac..1d38bdf8a 100644
--- a/Library/Formula/geoip.rb
+++ b/Library/Formula/geoip.rb
@@ -24,4 +24,8 @@ class Geoip < Formula
"--prefix=#{prefix}"
system "make install"
end
+
+ test do
+ system "#{bin}/geoiplookup", '8.8.8.8'
+ end
end