mkvtoolnix/tests/test-333wavpack_with_correction.rb
Moritz Bunkus f0b0ec70c7 Create SimpleTest classes on the fly instead of using class variables in the base class
...which doesn't work if more than one test is run simultaneously.
2012-01-31 18:59:27 +01:00

17 lines
376 B
Ruby

#!/usr/bin/ruby -w
describe "mkvmerge / WAVPACK4 with correction file"
test_merge "data/wavpack4/v.wv", :keep_tmp => true
test "extract with correction file" do
extract tmp, 0 => "#{tmp}-0.wv"
hash_file("#{tmp}-0.wv") + "+" + hash_file("#{tmp}-0.wvc")
end
test "look for SimpleBlock" do
sys "../src/mkvinfo #{tmp} | grep -q SimpleBlock", :exit_code => 1
"ok"
end