Add second test to improve code coverage.

This commit is contained in:
Kevin Backhouse 2021-09-25 17:33:10 +01:00
parent e2f3d6d2d7
commit 8b8067abba
No known key found for this signature in database
GPG Key ID: 9DD01852EE40366E
3 changed files with 5 additions and 4 deletions

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@ -9,9 +9,10 @@ class PrintXmpDateOutOfBoundsIndex19(metaclass=CaseMeta):
"""
url = "https://github.com/Exiv2/exiv2/issues/1918"
filename = path("$data_path/issue_1918_poc.jpg")
commands = ["$exiv2 -px $filename"]
stderr = [""]
retval = [0]
filename1 = path("$data_path/issue_1918_poc1.jpg")
filename2 = path("$data_path/issue_1918_poc2.jpg")
commands = ["$exiv2 -px $filename1", "$exiv2 -px $filename2"]
stderr = ["", ""]
retval = [0, 0]
compare_stdout = check_no_ASAN_UBSAN_errors