mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-30 14:58:50 +00:00
20 lines
458 B
Ruby
20 lines
458 B
Ruby
#!/usr/bin/ruby -w
|
|
|
|
class T_316ui_locale_zh_CN < Test
|
|
def description
|
|
"mkvmerge / UI locale: zh_CN"
|
|
end
|
|
|
|
def run
|
|
hashes = Array.new
|
|
|
|
merge "/dev/null", "--ui-language zh_CN data/avi/v.avi | head -n 2 | tail -n 1 > #{tmp}-zh_CN"
|
|
hashes << hash_file("#{tmp}-zh_CN")
|
|
|
|
sys "../src/mkvinfo --ui-language zh_CN data/mkv/complex.mkv | head -n 2 > #{tmp}-zh_CN"
|
|
hashes << hash_file("#{tmp}-zh_CN")
|
|
|
|
return hashes.join "-"
|
|
end
|
|
end
|