aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-05-01 21:09:13 +0100
committerMike McQuaid2014-05-06 19:34:03 +0100
commit10875026060ae935f3dff941b755ab6ec2287661 (patch)
tree5e456d2aed50861790976c13bc81b721511c6da3 /Library/Formula
parent3b4db8aff88ef701df8b4d43c9c6551b4b662e59 (diff)
downloadhomebrew-10875026060ae935f3dff941b755ab6ec2287661.tar.bz2
namebench: add test.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/namebench.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/namebench.rb b/Library/Formula/namebench.rb
index 7cb793afc..b1b4b8750 100644
--- a/Library/Formula/namebench.rb
+++ b/Library/Formula/namebench.rb
@@ -17,4 +17,8 @@ class Namebench < Formula
bin.install "namebench.py" => "namebench"
bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH'])
end
+
+ test do
+ system "#{bin}/namebench", "--query_count", "1", "--only", "8.8.8.8"
+ end
end