mkvtoolnix/tests/test-333wavpack_with_correction.rb
Moritz Bunkus 2b97f115a1 tests: fix test for SimpleBlock presence
mkvinfo will stop at the first cluster without verbosity args, and in
that case SimpleBlocks are simply never shown anyway.
2018-03-10 12:49:56 +01:00

16 lines
401 B
Ruby
Executable File

#!/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 -v -v --ui-language en_US #{tmp} | grep -q SimpleBlock", :exit_code => 1
"ok"
end