diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2021-09-08 09:20:17 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2021-09-08 09:20:17 +0300 |
commit | 46b84f431d1435778f8f3811e6fceb0ab5190cb8 (patch) | |
tree | 7bc705759c42ef9b9e11097aec269dee7d20fd0b /tests | |
parent | b969e1c74e7c905a96c1590f5350a264dbaa83ae (diff) | |
download | shared-mime-info-46b84f431d1435778f8f3811e6fceb0ab5190cb8.tar.gz |
image/jpeg: add test case with embedded property list XML
https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/169
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mime-detection/list | 4 | ||||
-rw-r--r-- | tests/mime-detection/test-with-plist-xml.jpg | bin | 0 -> 8098 bytes |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 2bb9df89..a270e4ff 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -28,6 +28,10 @@ test.im1 image/x-sun-raster x test.jpg image/jpeg # Possible false positive for a JPEG 2000 image img_5304.jpg image/jpeg +# One with embeddded property list XML +# https://github.com/DeaDBeeF-Player/deadbeef/issues/2667 +# convert -extent 1x1 cover.jpg jpg:- | exiftool "-PhotoshopThumbnail<=" - >test-with-plist-xml.jpg +test-with-plist-xml.jpg image/jpeg # From https://github.com/bitsgalore/jp2kMagic balloon.j2c image/x-jp2-codestream balloon.jp2 image/jp2 diff --git a/tests/mime-detection/test-with-plist-xml.jpg b/tests/mime-detection/test-with-plist-xml.jpg Binary files differnew file mode 100644 index 00000000..c0dd4dd0 --- /dev/null +++ b/tests/mime-detection/test-with-plist-xml.jpg |