mkvtoolnix/tests/test-288identify_files_by_amg.rb
Moritz Bunkus 85eecd0007 Only report tracks with the same track number once
AVIMux GUI produces files in which track headers are stored multiple
times. mkvmerge must only report the tracks found once (matched by
their track number element).

Fix for bug 609.
2011-03-08 15:19:37 +01:00

14 lines
274 B
Ruby

#!/usr/bin/ruby -w
class T_288identify_files_by_amg < Test
def description
"mkvmerge / identify on files created by AMG"
end
def run
sys "../src/mkvmerge --identify-verbose data/mkv/amg_sample.mkv | grep '^Track' | wc -l > #{tmp}", 0
hash_tmp
end
end