aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/dnsmasq.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/dnsmasq.rb b/Library/Formula/dnsmasq.rb
index cb8f7aa80..1d813dc56 100644
--- a/Library/Formula/dnsmasq.rb
+++ b/Library/Formula/dnsmasq.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Dnsmasq < Formula
homepage "http://www.thekelleys.org.uk/dnsmasq/doc.html"
url "http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.72.tar.gz"
@@ -78,4 +76,8 @@ class Dnsmasq < Formula
</plist>
EOS
end
+
+ test do
+ system "#{bin}/dnsmasq", "--test"
+ end
end