2012-01-31 15:55:53 +00:00
|
|
|
#!/usr/bin/ruby -w
|
|
|
|
|
2012-01-31 17:59:27 +00:00
|
|
|
describe "mkvmerge / WAVPACK4 with correction file"
|
2012-01-31 15:55:53 +00:00
|
|
|
|
2012-01-31 17:59:27 +00:00
|
|
|
test_merge "data/wavpack4/v.wv", :keep_tmp => true
|
2012-01-31 15:55:53 +00:00
|
|
|
|
2012-01-31 17:59:27 +00:00
|
|
|
test "extract with correction file" do
|
|
|
|
extract tmp, 0 => "#{tmp}-0.wv"
|
|
|
|
hash_file("#{tmp}-0.wv") + "+" + hash_file("#{tmp}-0.wvc")
|
|
|
|
end
|
2012-01-31 15:55:53 +00:00
|
|
|
|
2012-01-31 17:59:27 +00:00
|
|
|
test "look for SimpleBlock" do
|
2018-03-10 11:49:56 +00:00
|
|
|
sys "../src/mkvinfo -v -v --ui-language en_US #{tmp} | grep -q SimpleBlock", :exit_code => 1
|
2012-01-31 17:59:27 +00:00
|
|
|
"ok"
|
2012-01-31 15:55:53 +00:00
|
|
|
end
|