exiv2/tests/bugfixes/github/test_issue_1845.py
Kevin Backhouse 23dfda54be Regression test for https://github.com/Exiv2/exiv2/issues/1845
(cherry picked from commit f8c71359a6fd0fb23823454e931b9739013d293a)
2021-08-06 12:13:38 +00:00

18 lines
505 B
Python

# -*- coding: utf-8 -*-
from system_tests import CaseMeta, CopyTmpFiles, path
@CopyTmpFiles("$data_path/issue_1845_poc.jp2")
class TiffDirectoryWriteDirEntryAssert(metaclass=CaseMeta):
"""
Regression test for the bug described in:
https://github.com/Exiv2/exiv2/issues/1845
"""
url = "https://github.com/Exiv2/exiv2/issues/1845"
filename = path("$tmp_path/issue_1845_poc.jp2")
commands = ["$exiv2 -q -D +1 ad $filename"]
stderr = [""]
stdout = [""]
retval = [0]