Replace assertion with an error message.
parent
cca3e0766d
commit
9e160a453b
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
@ -0,0 +1,17 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from system_tests import CaseMeta, path, check_no_ASAN_UBSAN_errors
|
||||||
|
|
||||||
|
class TiffMnEntryDoCountInvalidTiffType(metaclass=CaseMeta):
|
||||||
|
"""
|
||||||
|
Test for the bug described in:
|
||||||
|
https://github.com/Exiv2/exiv2/issues/1847
|
||||||
|
"""
|
||||||
|
url = "https://github.com/Exiv2/exiv2/issues/1847"
|
||||||
|
|
||||||
|
filename = path("$data_path/issue_1847_poc.jpg")
|
||||||
|
commands = ["$exiv2 -pS $filename"]
|
||||||
|
stderr = [""]
|
||||||
|
retval = [0]
|
||||||
|
|
||||||
|
compare_stdout = check_no_ASAN_UBSAN_errors
|
Loading…
Reference in New Issue