mkvtoolnix/tests/test-562segfaults_issue_1780_part_5.rb
Moritz Bunkus 9674191136 tests: only record exit code for certain tests
Some of the test cases of #1780 cause uninitialized memory to be written
to the output file due to incomplete reads. This causes subsequent tests
to fail their checksums. Therefore only record the fact that they've
completed successfully.
2016-09-07 16:45:40 +02:00

12 lines
581 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_562segfaults_issue_1780_part_5
describe "mkvmerge / various test cases for segfaults collected in issue 1780 part 5"
dir = "data/segfaults-assertions/issue-1780"
# "MP4 reader: properly catch invalid chunk size exception"
test_merge "#{dir}/explorer:id:000081,sig:06,src:000001,op:havoc,rep:128", :exit_code => :error
test_merge "#{dir}/explorer:id:000233,sig:06,src:000005,op:havoc,rep:16", :exit_code => :warning
test_merge "#{dir}/explorer:id:000241,sig:11,src:000012,op:flip1,pos:13674", :exit_code => :warning, :result_type => :exit_code_string