Skip to content

Commit

Permalink
Fix test failure on Windows, caused by Windows line endings changing …
Browse files Browse the repository at this point in the history
…the number of bytes in the file.
  • Loading branch information
kevinbackhouse committed Aug 23, 2021
1 parent ea2a0c0 commit 327b06e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/bugfixes/github/test_coverage_xmp_doctype.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

from system_tests import CaseMeta, path
from system_tests import CaseMeta, path, check_no_ASAN_UBSAN_errors

class coverage_xmp_doctype(metaclass=CaseMeta):
"""
Expand All @@ -11,13 +11,10 @@ class coverage_xmp_doctype(metaclass=CaseMeta):

filename = path("$data_path/coverage_xmp_doctype.exv")
commands = ["$exiv2 $filename"]
stdout = ["""File name : $filename
File size : 257 Bytes
MIME type : application/rdf+xml
Image size : 0 x 0
"""]
stderr = ["""Error: XMP Toolkit error 201: Error in XMLValidator
Warning: Failed to decode XMP metadata.
$filename: No Exif data found in the file
"""]
retval = [253]

compare_stdout = check_no_ASAN_UBSAN_errors

0 comments on commit 327b06e

Please sign in to comment.