mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-22 19:13:14 +00:00
10 lines
416 B
Ruby
Executable File
10 lines
416 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_390timecode_info_on_resync
|
|
describe 'mkvmerge / output timecodes on resync'
|
|
|
|
test 'data/mkv/resync-after-broken.mkv' do
|
|
output = merge('data/mkv/resync-after-broken.mkv', :args => "--ui-language #{$ui_language_en_us}", :exit_code => :warning)[0].join('')
|
|
[/last.*timecode.*before.*error/, /first.*cluster.*timecode.*resync/].collect { |re| re.match(output) ? 'ok' : 'BAD' }.join('+')
|
|
end
|