summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2021-05-13 00:20:21 +0300
committerDavid Faure <faure@kde.org>2021-05-13 21:23:04 +0000
commit9d300d52cd8b9df82758ce622269cf2491148851 (patch)
tree37a1624de76ec50e75b6853191e455a873bd7f61 /tests
parenta5e9cf369e7700ff30a65a1caee65e04fa066b52 (diff)
downloadshared-mime-info-9d300d52cd8b9df82758ce622269cf2491148851.tar.gz
image/x-xpixmap: add XPM2 magic
https://en.wikipedia.org/wiki/X_PixMap#XPM2
Diffstat (limited to 'tests')
-rw-r--r--tests/mime-detection/list2
-rw-r--r--tests/mime-detection/test-xpm2.xpm11
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index 56333999..ee124de0 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -63,6 +63,8 @@ test.pat image/x-gimp-pat
lucid-tab-bg.xcf image/x-xcf
weather_sun.xcf image/x-xcf
test.xpm image/x-xpixmap
+# Copied from https://en.wikipedia.org/wiki/X_PixMap
+test-xpm2.xpm image/x-xpixmap
test.xwd image/x-xwindowdump ox
# Copied from http://djvu.org/resources/
2001_compression_overview.djvu image/vnd.djvu+multipage xoo
diff --git a/tests/mime-detection/test-xpm2.xpm b/tests/mime-detection/test-xpm2.xpm
new file mode 100644
index 00000000..f5183ebc
--- /dev/null
+++ b/tests/mime-detection/test-xpm2.xpm
@@ -0,0 +1,11 @@
+! XPM2
+16 7 2 1
+* c #000000
+. c #ffffff
+**..*...........
+*.*.*...........
+**..*..**.**..**
+*.*.*.*.*.*..*.*
+**..*..**.*...**
+...............*
+.............**.