mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 12:27:21 +00:00
17 lines
419 B
Ruby
Executable File
17 lines
419 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_710fuzzying
|
|
describe "mkvmerge / issues found by fuzzying"
|
|
|
|
skip_if $is_windows
|
|
|
|
Dir["data/segfaults-assertions/fuzzying/**/id*"].each do |file|
|
|
test file do
|
|
expected_exit_code = file.gsub(%r{.*/([012])/.*}, '\1').to_i
|
|
|
|
_, actual_exit_code = *merge(file, :exit_code => expected_exit_code, :no_variable_data => true)
|
|
|
|
actual_exit_code == expected_exit_code ? "ok" : "bad"
|
|
end
|
|
end
|