summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2022-03-13 15:00:07 +0100
committerDavid Faure <faure@kde.org>2022-03-13 14:02:24 +0000
commit62baee5169438bdf86c5d022c72796177b878c57 (patch)
treeafcb43871e4fe5505c23c2b2ab9efa322da5e115 /tests
parentcd06e616a32206adca1fce2b648e3ea9bbbe4f85 (diff)
downloadshared-mime-info-62baee5169438bdf86c5d022c72796177b878c57.tar.gz
Match shared libraries with version suffix
Make sure that libfoo.so.1.2.3 is recognized as shared library
Diffstat (limited to 'tests')
-rwxr-xr-xtests/mime-detection/libldap-2.4.so.2bin0 -> 13568 bytes
-rw-r--r--tests/mime-detection/list2
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/mime-detection/libldap-2.4.so.2 b/tests/mime-detection/libldap-2.4.so.2
new file mode 100755
index 00000000..d8966a80
--- /dev/null
+++ b/tests/mime-detection/libldap-2.4.so.2
Binary files differ
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index d2aed529..ec35b866 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -781,6 +781,8 @@ subshapes.swf application/vnd.adobe.flash.movie
pci.mod application/x-object x
# PIE executable https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/11
ls application/x-executable x
+# ELF shared library
+libldap-2.4.so.2 application/x-sharedlib oxo
boardingpass.pkpass application/vnd.apple.pkpass
hello.xdgapp application/vnd.flatpak