Merge pull request #1927 from kevinbackhouse/ImproveCodeCoverage
Add second test to improve code coverage.
This commit is contained in:
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
@@ -9,9 +9,11 @@ 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")
|
||||
filename3 = path("$data_path/issue_1918_poc3.jpg")
|
||||
commands = ["$exiv2 -px $filename1", "$exiv2 -px $filename2", "$exiv2 -px $filename3"]
|
||||
stderr = ["", "", ""]
|
||||
retval = [0, 0, 0]
|
||||
|
||||
compare_stdout = check_no_ASAN_UBSAN_errors
|
||||
|
||||
Reference in New Issue
Block a user