aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nmap.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/nmap.rb b/Library/Formula/nmap.rb
index ca4cbbcec..ab9152ccc 100644
--- a/Library/Formula/nmap.rb
+++ b/Library/Formula/nmap.rb
@@ -32,4 +32,8 @@ class Nmap < Formula
system "make" # separate steps required otherwise the build fails
system "make install"
end
+
+ test do
+ system "#{bin}/nmap", '-p80,443', 'google.com'
+ end
end