sox: add test (#12116)
This commit is contained in:
parent
00f78b9a79
commit
0041979eb6
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue