Add test reproducer for #561

This commit is contained in:
Luis Díaz Más 2018-11-26 14:23:40 +01:00
parent bc940231e7
commit dc04cc92eb
2 changed files with 12 additions and 0 deletions

BIN
test/data/pocIssue561 Normal file

Binary file not shown.

View File

@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
import system_tests
class ShouldNotThrowsWithSpecificIsoSpeedValue(metaclass=system_tests.CaseMeta):
url = "https://github.com/Exiv2/exiv2/issues/561"
filename = system_tests.path("$data_path/pocIssue561")
commands = ["$exiv2 " + filename]
retval = [0]
compare_stderr = system_tests.check_no_ASAN_UBSAN_errors
compare_stdout = system_tests.check_no_ASAN_UBSAN_errors