remove usage of exiv2json in a test (#199)

This commit is contained in:
Luis Díaz Más 2022-02-08 18:51:59 +01:00
parent 40f84182b8
commit 2a818e924d

View File

@ -15,40 +15,17 @@ Error: Offset of directory Image, entry 0x0117 is out of bounds: Offset = 0x3030
filename = "$data_path/cve_2017_18005_reproducer.tiff"
commands = [
"$exiv2 -vPEIXxgklnycsvth -b " + filename,
"$exiv2json " + filename
"$exiv2 -vPEIXxgklnycsvth -b " + filename
]
stdout = ["""File 1/1: """ + filename + """
0x0117 Image Exif.Image.StripByteCounts StripByteCounts Strip Byte Count SByte 0 0
""",
"""{
"Exif": {
"Image": {
"StripByteCounts": 0,
"0x3030": 0,
"0x3030": "",
"0x3030": 0,
"0x3030": 0,
"0x3030": 0,
"0x3030": 0,
"0x3030": 0,
"0x3030": 0,
"0x3030": 0,
"0x3030": 0,
"0x3030": 0,
"0x3030": 0,
"0x3030": 0
}
}
}
"""
]
stderr = [
stderr_common + filename + """: No IPTC data found in the file
""" + filename + """: No XMP data found in the file
""",
stderr_common
"""
]
retval = [0, 0]
retval = [0]