aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-03-15 00:40:56 +0100
committerBrett Koonce2015-03-14 19:39:48 -0700
commit617c247523e39fd6401c7f57d2c2e908a231bd9f (patch)
tree87ea39e37d36ecfd51bfd75bdccaf689285697bc /Library/Formula
parente98883db5192759ee1576a84d78651748e99498a (diff)
downloadhomebrew-617c247523e39fd6401c7f57d2c2e908a231bd9f.tar.bz2
convmv: add test
Closes #37724. Signed-off-by: Brett Koonce <koonce@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/convmv.rb12
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/convmv.rb b/Library/Formula/convmv.rb
index 6de1dea9d..e4167ae09 100644
--- a/Library/Formula/convmv.rb
+++ b/Library/Formula/convmv.rb
@@ -1,11 +1,13 @@
-require 'formula'
-
class Convmv < Formula
- homepage 'http://www.j3e.de/linux/convmv/'
- url 'http://www.j3e.de/linux/convmv/convmv-1.15.tar.gz'
- sha1 '7ca8599a37480a99058c4498fba7cfed64134de5'
+ homepage "http://www.j3e.de/linux/convmv/"
+ url "http://www.j3e.de/linux/convmv/convmv-1.15.tar.gz"
+ sha256 "c315aec78490b588000467d1c51081b36e629de0537c5a17fd48b1acaf8a5135"
def install
system "make", "install", "PREFIX=#{prefix}"
end
+
+ test do
+ system "#{bin}/convmv", "--list"
+ end
end