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.
22 lines
598 B
Python
22 lines
598 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from system_tests import CaseMeta, path
|
|
|
|
class XMPUtilsLeapYearOverflow(metaclass=CaseMeta):
|
|
"""
|
|
Regression test for the bug described in:
|
|
https://github.com/Exiv2/exiv2/issues/1954
|
|
"""
|
|
url = "https://github.com/Exiv2/exiv2/issues/1954"
|
|
|
|
filename = path("$data_path/issue_1954_poc.xmp")
|
|
commands = ["$exiv2 -q $filename"]
|
|
stderr = ["""$filename: No Exif data found in the file
|
|
"""]
|
|
stdout = ["""File name : $filename
|
|
File size : 172 Bytes
|
|
MIME type : application/rdf+xml
|
|
Image size : 0 x 0
|
|
"""]
|
|
retval = [253]
|