aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-02-16 11:20:13 +0100
committerJack Nagel2015-02-21 18:48:12 -0500
commit74a7538cc63630bdf707a1e0b736dc940a10fa6e (patch)
treeb3466b5151e5852cc41ce63bf0297d6ef67cbc8e /Library/Formula
parenta7e03fcb65a7bd11cc1d652cadd7f66692ff94fa (diff)
downloadhomebrew-74a7538cc63630bdf707a1e0b736dc940a10fa6e.tar.bz2
mp3splt: test added
Closes #36851. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mp3splt.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/mp3splt.rb b/Library/Formula/mp3splt.rb
index 64090a7c8..4a3b4fbe0 100644
--- a/Library/Formula/mp3splt.rb
+++ b/Library/Formula/mp3splt.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Mp3splt < Formula
homepage "http://mp3splt.sourceforge.net"
url "https://downloads.sourceforge.net/project/mp3splt/mp3splt/2.6.2/mp3splt-2.6.2.tar.gz"
@@ -19,4 +17,8 @@ class Mp3splt < Formula
"--prefix=#{prefix}"
system "make", "install"
end
+
+ test do
+ system "#{bin}/mp3splt", "-t", "0.1", test_fixtures("test.mp3")
+ end
end