aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2014-01-04 14:53:54 +0000
committerMike McQuaid2014-01-04 14:53:54 +0000
commitdcd80f54d378ba4431bc13b134c756110a2ab447 (patch)
tree7648bc6087fcde4ea04acc08f8ee237dc174cb00
parent21b75643d804a7acc58015bfe95c9bd335e9bb1a (diff)
downloadhomebrew-dcd80f54d378ba4431bc13b134c756110a2ab447.tar.bz2
binwalk: add test.
-rw-r--r--Library/Formula/binwalk.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/binwalk.rb b/Library/Formula/binwalk.rb
index 65c625ba7..4e9da2587 100644
--- a/Library/Formula/binwalk.rb
+++ b/Library/Formula/binwalk.rb
@@ -16,4 +16,9 @@ class Binwalk < Formula
system "python", "setup.py", "install", "--no-prereq-checks", "--prefix=#{prefix}"
end
end
+
+ test do
+ touch "binwalk.test"
+ system "#{bin}/binwalk", "binwalk.test"
+ end
end