From 62baee5169438bdf86c5d022c72796177b878c57 Mon Sep 17 00:00:00 2001 From: David Faure Date: Sun, 13 Mar 2022 15:00:07 +0100 Subject: Match shared libraries with version suffix Make sure that libfoo.so.1.2.3 is recognized as shared library --- data/freedesktop.org.xml.in | 1 + tests/mime-detection/libldap-2.4.so.2 | Bin 0 -> 13568 bytes tests/mime-detection/list | 2 ++ 3 files changed, 3 insertions(+) create mode 100755 tests/mime-detection/libldap-2.4.so.2 diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index ae05d58a..2324f0ea 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -3731,6 +3731,7 @@ command to generate the output files. + shell script 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 Binary files /dev/null and b/tests/mime-detection/libldap-2.4.so.2 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 -- cgit v1.2.1