Merge pull request #1927 from kevinbackhouse/ImproveCodeCoverage

Add second test to improve code coverage.
main
Kevin Backhouse 4 years ago committed by GitHub
commit 937264b7a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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" url = "https://github.com/Exiv2/exiv2/issues/1918"
filename = path("$data_path/issue_1918_poc.jpg") filename1 = path("$data_path/issue_1918_poc1.jpg")
commands = ["$exiv2 -px $filename"] filename2 = path("$data_path/issue_1918_poc2.jpg")
stderr = [""] filename3 = path("$data_path/issue_1918_poc3.jpg")
retval = [0] commands = ["$exiv2 -px $filename1", "$exiv2 -px $filename2", "$exiv2 -px $filename3"]
stderr = ["", "", ""]
retval = [0, 0, 0]
compare_stdout = check_no_ASAN_UBSAN_errors compare_stdout = check_no_ASAN_UBSAN_errors

Loading…
Cancel
Save