exiv2/tests/bugfixes/github/test_issue_1830.py
Kevin Backhouse e7d43b94a3 Regression test for https://github.com/Exiv2/exiv2/issues/1830
(cherry picked from commit 8b844c2dceab3ffd9bf423ffc4672bda5ee7cc8d)
2021-08-03 21:39:11 +00:00

18 lines
498 B
Python

# -*- coding: utf-8 -*-
from system_tests import CaseMeta, CopyTmpFiles, path, check_no_ASAN_UBSAN_errors
class ValueTypeFloatToLong(metaclass=CaseMeta):
"""
Regression test for the bug described in:
https://github.com/Exiv2/exiv2/issues/1830
"""
url = "https://github.com/Exiv2/exiv2/issues/1830"
filename = path("$data_path/issue_1830_poc.tiff")
commands = ["$exiv2 -q $filename"]
stderr = [""]
retval = [0]
compare_stdout = check_no_ASAN_UBSAN_errors