From 74a7538cc63630bdf707a1e0b736dc940a10fa6e Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Mon, 16 Feb 2015 11:20:13 +0100 Subject: mp3splt: test added Closes #36851. Signed-off-by: Jack Nagel --- Library/Formula/mp3splt.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3