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
|
2012-02-22 14:37:15 +00:00
|
|
|
sys "../src/mkvinfo --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
|
|
|
|
|