mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
tests: use "--engage no_variable_data" during identification
This commit is contained in:
parent
a3e5a9b222
commit
243b70a03f
@ -141,7 +141,7 @@ class SimpleTest
|
|||||||
@blocks[:tests] << {
|
@blocks[:tests] << {
|
||||||
:name => full_command_line,
|
:name => full_command_line,
|
||||||
:block => lambda {
|
:block => lambda {
|
||||||
sys "../src/mkvmerge #{full_command_line} > #{tmp}", :exit_code => options[:exit_code]
|
sys "../src/mkvmerge #{full_command_line} --engage no_variable_data > #{tmp}", :exit_code => options[:exit_code]
|
||||||
|
|
||||||
text = IO.readlines(tmp).reject { |line| %r{^\s*"identification_format_version":\s*\d+}.match(line) }.join('')
|
text = IO.readlines(tmp).reject { |line| %r{^\s*"identification_format_version":\s*\d+}.match(line) }.join('')
|
||||||
File.open(tmp, 'w') { |tmp_file| tmp_file.puts text }
|
File.open(tmp, 'w') { |tmp_file| tmp_file.puts text }
|
||||||
|
Loading…
Reference in New Issue
Block a user