Add second test to improve code coverage.
This commit is contained in:
parent
e2f3d6d2d7
commit
8b8067abba
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
BIN
test/data/issue_1918_poc2.jpg
Normal file
BIN
test/data/issue_1918_poc2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user