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.
21 lines
580 B
Python
21 lines
580 B
Python
5 years ago
|
import system_tests
|
||
|
|
||
|
|
||
|
class XMPMetaDeleteNamespace(
|
||
|
metaclass=system_tests.CaseMeta):
|
||
|
"""
|
||
|
Regression test for the bug described in:
|
||
|
https://github.com/Exiv2/exiv2/issues/984
|
||
|
"""
|
||
|
url = "https://github.com/Exiv2/exiv2/issues/984"
|
||
|
|
||
|
filename = system_tests.path(
|
||
|
"$data_path/issue_94_poc3.pgf"
|
||
|
)
|
||
|
commands = ["$exiv2json $filename"]
|
||
|
stdout = ["""Caught Exiv2 exception 'XMP Toolkit error 9: Fatal namespace map problem'
|
||
|
"""]
|
||
|
stderr = ["""Warning: Removing 54 characters from the beginning of the XMP packet
|
||
|
"""]
|
||
|
retval = [1]
|