forked from Exiv2/exiv2
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
15098f4
commit 75cdde0
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from system_tests import CaseMeta, path | ||
|
||
|
||
class InvalidDateXMP(metaclass=CaseMeta): | ||
""" | ||
Regression test for the bug described in: | ||
https://github.com/Exiv2/exiv2/issues/1706 | ||
""" | ||
url = "https://github.com/Exiv2/exiv2/issues/1706" | ||
|
||
filename = path("$data_path/issue_1706_poc.exv") | ||
commands = ["$exiv2 -PE $filename"] | ||
|
||
stderr = [ | ||
"""Error: Directory Photo with 65280 entries considered invalid; not read. | ||
""" | ||
] | ||
retval = [0] | ||
|
||
def compare_stdout(self, i, command, got_stdout, expected_stdout): | ||
""" We don't care about the stdout, just don't crash """ | ||
pass |