From cd9de9a9fcd6b962d03a12a98056f03315ea11d1 Mon Sep 17 00:00:00 2001 From: Tim D. Smith Date: Sat, 20 Dec 2014 09:56:08 -0500 Subject: mitmproxy: add simple test --- Library/Formula/mitmproxy.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library') diff --git a/Library/Formula/mitmproxy.rb b/Library/Formula/mitmproxy.rb index 0d36fd214..4a3c39f1f 100644 --- a/Library/Formula/mitmproxy.rb +++ b/Library/Formula/mitmproxy.rb @@ -125,4 +125,8 @@ class Mitmproxy < Formula bin.install Dir[libexec/"bin/*"] bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"]) end + + test do + system bin/"mitmproxy", "--version" + end end -- cgit v1.2.3