From 243b70a03f983392fb20ef926b1d3711e4094184 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sat, 15 Apr 2017 18:46:43 +0200 Subject: [PATCH] tests: use "--engage no_variable_data" during identification --- tests/test.d/simple_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.d/simple_test.rb b/tests/test.d/simple_test.rb index c425f94a4..c5e28d7be 100644 --- a/tests/test.d/simple_test.rb +++ b/tests/test.d/simple_test.rb @@ -141,7 +141,7 @@ class SimpleTest @blocks[:tests] << { :name => full_command_line, :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('') File.open(tmp, 'w') { |tmp_file| tmp_file.puts text }