aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTed Pennings2014-01-15 20:40:09 -0500
committerMike McQuaid2014-01-17 10:26:52 +0000
commit5b74901434128fc77b89611acd51c29af19d4ed4 (patch)
tree2f191c8bbe463800fd5947f03ef61723b8fb6626 /Library/Formula
parent53bd7b59e23965ab5ed3b7c0a8df9e54a3d7ce7d (diff)
downloadhomebrew-5b74901434128fc77b89611acd51c29af19d4ed4.tar.bz2
lynx: a test
Closes #25937. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lynx.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/lynx.rb b/Library/Formula/lynx.rb
index 68094bcf7..2dc897b29 100644
--- a/Library/Formula/lynx.rb
+++ b/Library/Formula/lynx.rb
@@ -16,4 +16,8 @@ class Lynx < Formula
"--enable-ipv6"
system "make install"
end
+
+ test do
+ system "#{bin}/lynx", '-dump', 'http://checkip.dyndns.org'
+ end
end