diff options
| author | Mike McQuaid | 2014-05-01 21:09:13 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-05-06 19:34:03 +0100 |
| commit | 10875026060ae935f3dff941b755ab6ec2287661 (patch) | |
| tree | 5e456d2aed50861790976c13bc81b721511c6da3 /Library/Formula | |
| parent | 3b4db8aff88ef701df8b4d43c9c6551b4b662e59 (diff) | |
| download | homebrew-10875026060ae935f3dff941b755ab6ec2287661.tar.bz2 | |
namebench: add test.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/namebench.rb | 4 |
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 |
