mkvtoolnix/tests/test-0288identify_files_by_amg.rb
2021-07-07 16:10:13 +02:00

14 lines
319 B
Ruby
Executable File

#!/usr/bin/ruby -w
class T_0288identify_files_by_amg < Test
def description
"mkvmerge / identify on files created by AMG"
end
def run
content = JSON.load(capture_bash("../src/mkvmerge -J data/mkv/amg_sample.mkv"))["tracks"].size.to_s
IO.write(tmp, content + "\n", mode: 'wb')
hash_tmp
end
end