exiv2/tests/bugfixes/github/test_issue_1841.py
2023-06-02 00:25:13 +08:00

19 lines
499 B
Python

# -*- coding: utf-8 -*-
from system_tests import CaseMeta, path
class MemoryLeakWebPImageDecodeChunks(metaclass=CaseMeta):
"""
Test for the bug described in:
https://github.com/Exiv2/exiv2/issues/1841
"""
url = "https://github.com/Exiv2/exiv2/issues/1841"
filename = path("$data_path/issue_1841_poc.webp")
commands = ["$exiv2 $filename"]
stdout = [""]
stderr = ["""$exiv2_exception_message $filename:
This does not look like a TIFF image
"""]
retval = [1]