sox: add test (#12116)

This commit is contained in:
Zhiming Wang 2017-04-06 00:05:57 -04:00 committed by ilovezfs
parent 00f78b9a79
commit 0041979eb6

View file

@ -29,4 +29,12 @@ class Sox < Formula
"--prefix=#{prefix}"
system "make", "install"
end
test do
input = testpath/"test.wav"
output = testpath/"concatenated.wav"
cp test_fixtures("test.wav"), input
system "#{bin}/sox #{input} #{input} #{output}"
assert_predicate output, :exist?
end
end