You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
798 B
Python
28 lines
798 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import system_tests
|
|
|
|
|
|
class TestFirstPoC(metaclass=system_tests.CaseMeta):
|
|
"""
|
|
Regression test for the two bugs described in:
|
|
https://github.com/Exiv2/exiv2/issues/159
|
|
|
|
We do not actually check the output of these files, we only check that we
|
|
don't get a crash (the metadata are bogus anyway, so no point in checking).
|
|
"""
|
|
url = "https://github.com/Exiv2/exiv2/issues/159"
|
|
|
|
filename = [
|
|
system_tests.path("$data_path/printStructure"),
|
|
system_tests.path("$data_path/printStructure2")
|
|
]
|
|
commands = [
|
|
"$exiv2 " + filename[0],
|
|
"$exiv2 -pS " + filename[1],
|
|
]
|
|
retval = [0, 1]
|
|
|
|
compare_stderr = system_tests.check_no_ASAN_UBSAN_errors
|
|
compare_stdout = system_tests.check_no_ASAN_UBSAN_errors
|