mkvtoolnix/tests/test-0506cisco_talos_can_0037.rb
2021-07-07 16:10:13 +02:00

16 lines
464 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_506cisco_talos_can_0037
describe "mkvmerge, mkvinfo / invalid memory access reported as Cisco TALOS-CAN-0037"
skip_if c?(:USE_ADDRSAN)
skip_if $is_windows
exit_codes = {
"data/segfaults-assertions/cisco-talos-can-0037/id:000409,sig:06,src:001692,op:havoc,rep:32" => :warning,
}
files = Dir.glob("data/segfaults-assertions/cisco-talos-can-0037/*").sort
files.each { |file| test_info(file, :exit_code => exit_codes[file] || :success) }