From 367db322bcb1fe0764623141ac21086443cec9b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 10 Jan 2021 21:48:20 +0200 Subject: application/vnd.apple.numbers, .pages: add older magics and test cases Numbers 3.5 and Pages 5.5 appear to place an Index/Document.iwa, not index.xml there. --- data/freedesktop.org.xml.in | 2 ++ tests/mime-detection/list | 4 ++++ tests/mime-detection/test.numbers | Bin 0 -> 104987 bytes tests/mime-detection/test.pages | Bin 0 -> 56766 bytes 4 files changed, 6 insertions(+) create mode 100644 tests/mime-detection/test.numbers create mode 100644 tests/mime-detection/test.pages diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 1e9c5eee..4a4b45ec 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -7319,6 +7319,7 @@ command to generate the output files. + @@ -7331,6 +7332,7 @@ command to generate the output files. + diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 6723391c..1d55f41a 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -188,6 +188,10 @@ test.lwp application/vnd.lotus-wordpro # Copied from https://bugs.freedesktop.org/show_bug.cgi?id=64946 TS010082249.pub application/vnd.ms-publisher ox test.key application/vnd.apple.keynote +# Created with Numbers 3.5 +test.numbers application/vnd.apple.numbers ox +# Created with Pages 5.5 +test.pages application/vnd.apple.pages test.pmd application/x-pagemaker oxo sample.vsdx application/vnd.ms-visio.drawing.main+xml oxo appleworks.cwk application/x-appleworks-document oxo diff --git a/tests/mime-detection/test.numbers b/tests/mime-detection/test.numbers new file mode 100644 index 00000000..2d71db66 Binary files /dev/null and b/tests/mime-detection/test.numbers differ diff --git a/tests/mime-detection/test.pages b/tests/mime-detection/test.pages new file mode 100644 index 00000000..905c7e31 Binary files /dev/null and b/tests/mime-detection/test.pages differ -- cgit v1.2.1