# Regression tests for shared-mime-info and xdgmime.
#
# Syntax: <filename> <expected mimetype> [NDF]
#  where N can be 'x' if the lookup by filename is expected to fail
#        D can be 'x' if the lookup by file data is expected to fail
#        F can be 'x' if the lookup by actual file (using both name and contents) is expected to fail
#  Use 'o' to express the opposite, i.e. no expected failure for this kind of lookup.
#  Example: 'ox' means N=o D=x (and F is 'o', implicitly), lookup by data should fail.


# Images
test.bmp image/bmp 
test.cel image/x-cel xxx 
test.dcm application/dicom
test.eps image/x-eps
# https://bugs.freedesktop.org/show_bug.cgi?id=55264
Oriental_tattoo_by_daftpunk22.eps image/x-eps
GammaChart.exr image/x-exr
test.fit image/fits x
test.fli video/x-flic ox
test.gif image/gif
example.heic image/heif ox
example.heif image/heif ox
test.ico image/vnd.microsoft.icon
# From https://bugs.freedesktop.org/show_bug.cgi?id=20070#c3
test.ilbm image/x-ilbm
test.im1 image/x-sun-raster x
test.jpg image/jpeg
# Possible false positive for a JPEG 2000 image
img_5304.jpg image/jpeg
# From https://github.com/bitsgalore/jp2kMagic
balloon.j2c image/x-jp2-codestream
balloon.jp2 image/jp2
balloon.jpf image/jpx
balloon.jpm image/jpm
balloon.mj2 video/mj2
# From https://bugzilla.freedesktop.org/show_bug.cgi?id=55339
test.mng video/x-mng
test.pbm image/x-portable-bitmap
test.pcx image/vnd.zbrush.pcx
test.pgm image/x-portable-graymap
test.pix image/x-pix xxx
test.png image/png
test.ppm image/x-portable-pixmap
# Copied from http://bugs.freedesktop.org/show_bug.cgi?id=19811
test2.ppm image/x-portable-pixmap
test-p6.ppm image/x-portable-pixmap
test.ps  application/postscript
test.psd image/vnd.adobe.photoshop
test.sgi image/x-sgi ox
test.tga image/x-tga
# Uncompressed TGA
test2.tga image/x-tga
colormapped.tga image/x-tga
test.tif image/tiff
test.webp image/webp
test.xbm image/x-xbitmap ox
test.xcf image/x-xcf
test.gbr image/x-gimp-gbr
test.gih image/x-gimp-gih ox
test.pat image/x-gimp-pat
# https://bugs.freedesktop.org/show_bug.cgi?id=55263
lucid-tab-bg.xcf image/x-xcf
weather_sun.xcf image/x-xcf
test.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
2001_compression_overview.djvu image/vnd.djvu oxx
# c44 test.jpg test.djvu
test.djvu image/vnd.djvu
# Copied from https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/91488 (150 first kB)
test.kdc image/x-kodak-kdc
# Copied from http://www.skencil.org/gallery.html
bathead.sk image/x-skencil
# Copied from http://www.geocities.com/CapeCanaveral/1939/256cur95.zip
jc-win.ani application/x-navi-animation
# Copied from http://blogs.vertigosoftware.com/alanl/archive/2006/06/28/Vista_Cursors_on_Windows_XP.aspx
aero_alt.cur image/x-win-bitmap
# copied from the mypaint examples
mypaint.ora image/openraster
# Copied from https://bugs.freedesktop.org/show_bug.cgi?id=19201#c4
# test.bflng application/xml x
# Copied from https://bugs.freedesktop.org/show_bug.cgi?id=19201#c3
test.xhtml application/xhtml+xml
test.xht application/xhtml+xml
# Copied from https://bugs.webkit.org/show_bug.cgi?id=201295#c0
test-html-with-svg.html text/html
# Copied from https://gitlab.freedesktop.org/xdg/shared-mime-info/issues/98
test-really-html-not-xhtml.html text/html oxx
# Copied from https://gitlab.freedesktop.org/xdg/shared-mime-info/issues/120
test.html text/html
# Copied from http://cvs.fedoraproject.org/viewvc/comps/comps-f11.xml.in?revision=1.306
test.xml.in application/xml x
# Copied from http://bugs.freedesktop.org/show_bug.cgi?id=25581
dia.shape application/x-dia-shape
# Copied from https://bugzilla.gnome.org/show_bug.cgi?id=623861#c1
attachment.tif image/jpeg xox
# First 512k of http://img.photographyblog.com/reviews/panasonic_lumix_dmc_fz38/sample_images/panasonic_lumix_dmc_fz38_05.rw2
panasonic_lumix_dmc_fz38_05.rw2 image/x-panasonic-rw2
# Copied from https://bugs.freedesktop.org/show_bug.cgi?id=39126
bug39126-working.ppm image/x-portable-pixmap
bug39126-broken.ppm image/x-portable-pixmap
# Copied from https://issues.apache.org/ooo/show_bug.cgi?id=25876
ooo25876-2.pct image/x-pict
newtonme.pict image/x-pict
# Copied from https://github.com/KhronosGroup/KTX/tree/master/testimages
rgb-reference.ktx image/ktx
# Copied from https://gitlab.gnome.org/GNOME/gnome-photos/blob/master/data/dnd-counter.svg
dnd-counter.svg image/svg+xml
# Copied from https://github.com/linuxmint/mint-x-icons/tree/master/usr/share/icons/Mint-X-Aqua/places/128
folder.svg image/svg+xml
# Copied from https://gitlab.freedesktop.org/xdg/shared-mime-info/issues/116#note_225851
terminal-app.svg image/svg+xml
network-symbolic.svg image/svg+xml

# Documents
ooo-6.0.doc application/msword
ooo-95.doc application/msword
ooo.doc application/msword
ooo.rtf application/rtf
ooo.sdw application/vnd.stardivision.writer
ooo.stw application/vnd.sun.xml.writer.template ox
ooo.sxw application/vnd.sun.xml.writer
ooo.vor application/vnd.stardivision.writer
ooo-xp.doc application/msword
office.doc application/msword
# ISO/IEC 26300:2006 Open Document Format for Office Applications (OpenDocument)
ooo-test.odg application/vnd.oasis.opendocument.graphics
ooo-test.odp application/vnd.oasis.opendocument.presentation
ooo-test.ods application/vnd.oasis.opendocument.spreadsheet
ooo-test.odt application/vnd.oasis.opendocument.text
# OpenDocument/OpenOffice.org flat XML 
ooo-test.fodg application/vnd.oasis.opendocument.graphics-flat-xml ox
ooo-test.fodp application/vnd.oasis.opendocument.presentation-flat-xml ox
ooo-test.fods application/vnd.oasis.opendocument.spreadsheet-flat-xml ox
ooo-test.fodt application/vnd.oasis.opendocument.text-flat-xml ox
# Copied from https://bugs.freedesktop.org/show_bug.cgi?id=20604
foo.doc application/msword
# Copied from http://bugzilla.abisource.com/show_bug.cgi?id=6435
test-template.dot application/msword-template ox
test-template.dot application/msword xox
# Copied from http://www.ebooktechnologies.com/downloads/ocf10-20060911.epub
ocf10-20060911.epub application/epub+zip
# Copied from https://standardebooks.org/ebooks/elizabeth-barrett-browning/sonnets-from-the-portuguese
elizabeth-barrett-browning_sonnets-from-the-portuguese.azw3 application/vnd.amazon.mobi8-ebook ox
# Copied from http://libwps.svn.sourceforge.net/viewvc/libwps/trunk/reference/
test.wps application/vnd.ms-works ox
# Copied from https://bugs.freedesktop.org/show_bug.cgi?id=45922
test.xlr application/vnd.ms-works ox
# Copied from http://openxmldeveloper.org/articles/OpenXMLsamples.aspx
sample.docx application/vnd.openxmlformats-officedocument.wordprocessingml.document oxo
sample.xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet oxo
sample.pptx application/vnd.openxmlformats-officedocument.presentationml.presentation oxo
# Copied and renamed sample.pptx
sample.ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow oxo
# Copied from http://bugs.freedesktop.org/show_bug.cgi?id=20185
pocket-word.psw application/x-pocket-word
aportis.pdb application/x-aportisdoc
# Copied from https://artcontext.net/art/01/mime/docs/show.php?type=application%2Fandrew-inset&js=
internet.ez application/andrew-inset ox
# Copied from http://extensions.services.openoffice.org/project/anaphraseus
Anaphraseus-1.21-beta.oxt application/vnd.openofficeorg.extension ox
# Copied from http://lilypond.org/doc/v2.10/examples
petite-ouverture-a-danser.ly text/x-lilypond ox
sqlite2.kexi application/x-kexiproject-sqlite2 ox
sqlite3.kexi application/x-kexiproject-sqlite3 xx
# Copied from KOffice 2.1.1 source tarball
combined.karbon application/x-karbon
Empty.chrt application/x-kchart
layersupdatesignals.flw application/x-kivio
Presentation.kpt application/x-kpresenter
testcases.ksp application/x-kspread
test-kounavail2.kwd application/x-kword
white_640x480.kra application/x-krita
test.mobi application/x-mobipocket-ebook
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/x-iwork-keynote-sffkey
test.pmd application/x-pagemaker oxo
sample.vsdx application/vnd.ms-visio.drawing.main+xml oxo
appleworks.cwk application/x-appleworks-document oxo

# Playlist, subtitle and audio formats
stream.nsc application/x-netshow-channel
stream.sdp application/sdp x
playlist.asx audio/x-ms-asx
feed.rss application/rss+xml
feed2 application/rss+xml x
# RSS tag is too far in the file
560051.xml application/rss+xml xxx
feed.atom application/atom+xml
feeds.opml text/x-opml+xml
subtitle.srt application/x-subrip
# Copied from http://msdn2.microsoft.com/en-us/library/ms971327.aspx
subtitle.smi application/x-sami x
# Copied from http://www1.mplayerhq.hu/MPlayer/samples/sub/Lola.sub/Run.Lola.Run.1998.DVDivX-SChiZO.sub
subtitle-microdvd.sub text/x-microdvd
# Copied from http://www1.mplayerhq.hu/MPlayer/samples/sub/manyfmts/FOVH%20MoviePlayer.sub
subtitle-mpsub.sub text/x-mpsub x
# Copied from http://en.wikipedia.org/wiki/SubStation_Alpha
subtitle.ssa text/x-ssa
# Copied from http://wiki.videolan.org/SubViewer
subtitle-subviewer.sub text/x-subviewer x
# Copied from http://www.iandevlin.com/html5test/webvtt/upc-video-subtitles-en.vtt
upc-video-subtitles-en.vtt text/vtt
# Copied from http://zano6.home.att.net/Ringer/Ball_Game.ime
ringtone.ime text/x-iMelody
# Copied from http://smaf-yamaha.com/develop/smpl/J-Walk.mmf
ringtone.mmf application/x-smaf
ringtone.m4r audio/x-m4r oxo
# Copied from http://smaf-yamaha.com/what/demo/chlist.mrl
playlist.mrl text/x-mrml
#  Copied from http://bugzilla.gnome.org/show_bug.cgi?id=518688
hbo-playlist.qtl application/x-quicktime-media-link
# Copied from http://bugzilla.gnome.org/show_bug.cgi?id=567142
playlist.wpl application/vnd.ms-wpl
# Copied from Nine Inch Nails' The Slip
test.flac audio/flac
# Copied from http://tools.ietf.org/html/draft-pantos-http-live-streaming-02#section-7.1
live-streaming.m3u application/vnd.apple.mpegurl x
# Copied from http://qthttp.apple.com.edgesuite.net/1006ad9g4hjk/all_w.m3u8
all_w.m3u8 application/vnd.apple.mpegurl x
# Copied from http://bugs.freedesktop.org/show_bug.cgi?id=42922
test.vsd application/vnd.visio ox
# Copied from https://bugs.freedesktop.org/show_bug.cgi?id=40800
test.dts audio/vnd.dts
test.dtshd audio/vnd.dts.hd
# Copied from http://samples.mplayerhq.hu/A-codecs/amr/sample2.amr
sample2.amr audio/AMR
# Testing case-insensitive mime-type matching
# https://bugs.freedesktop.org/show_bug.cgi?id=38415
sample2.amr audio/amr
# Truncated file from https://bugzilla.gnome.org/show_bug.cgi?id=792325
raw-mjpeg.mjpeg video/x-mjpeg oxo

# text
text-iso8859-15.txt text/plain
text-utf8.txt text/plain
test.tex text/x-tex
# Copied from http://www.computerperformance.co.uk/vista/vista_reg_examples.htm
registry.reg text/x-ms-regedit
# Copied from http://www.ss64.com/nt/regedit.html
registry-nt.reg text/x-ms-regedit
# Copied from https://bugzilla.redhat.com/show_bug.cgi?id=430203#c3
test.ext,v text/plain
# Feature specification in Gherkin format
test.feature text/x-gherkin ox
# Copied from http://bugs.freedesktop.org/show_bug.cgi?id=14329
test.fl application/x-fluid
# From https://bugs.freedesktop.org/show_bug.cgi?id=30656
bug-30656-xchat.conf application/octet-stream oxx
bug-30656-xchat.conf text/plain x
helloworld.java text/x-java ox
helloworld.groovy text/x-groovy ox
build.gradle text/x-gradle ox
# Copied from http://asurvey.net/ccsfagent/media/survey.js
survey.js application/javascript ox
# Copied from gecko/accessible/src/jsat/Utils.jsm in Boot2Gecko
Utils.jsm application/javascript ox
esm.mjs application/javascript ox
javascript-without-extension application/javascript xoo
# The following two copied from RFC 4627.
json_object.json application/json ox
json_array.json application/json ox
# Copied from RFC 7033
webfinger.jrd application/jrd+json ox
# Copied from RFC 6902
my-data.json-patch application/json-patch+json ox
# Copied from http://www.w3.org/TR/json-ld/
json-ld-full-iri.jsonld application/ld+json ox
test.ipynb application/x-ipynb+json
test-reordered.ipynb application/x-ipynb+json ox
test.cs text/x-csharp ox
test.dot text/vnd.graphviz x
test.vala text/x-vala ox
test.ooc text/x-ooc ox
test.mof text/x-mof ox
# Copied from http://bugs.freedesktop.org/show_bug.cgi?id=11530
test-cdda.toc application/x-cdrdao-toc
test-cdrom.toc application/x-cdrdao-toc
# Copied from /etc/sysconfig/iptables
test.iptables text/x-iptables
test-vpn.pcf application/x-cisco-vpn-settings x
# From https://bugs.freedesktop.org/show_bug.cgi?id=20302
menu.ini application/octet-stream oxx
menu.ini text/plain x
# Copied from https://bugs.freedesktop.org/show_bug.cgi?id=16228
test.php application/x-php
# The 3 below copied from https://bugs.freedesktop.org/show_bug.cgi?id=15810
evolution.eml application/mbox xox
tb-from-sentbox.eml message/rfc822
tb-saved.eml message/rfc822
# Copied from http://www.cyanwerks.com/file-format-url.html
test.url application/x-mswinurl
# Copied from http://www.digitalmars.com/d/
test.d text/x-dsrc ox
test.v text/x-verilog ox
test.sv text/x-svsrc ox
test.svh text/x-svhdr ox
# Copied from http://www.w3.org/TR/CSS21/sample.html
html4.css text/css ox
# Copied from http://www.iecss.com/whatwg.css
html5.css text/css ox
# Copied from http://www.w3.org/TR/html5/offline.html#manifests
test.manifest text/cache-manifest
test.yaml application/x-yaml
# hand-made
mysum.m text/x-matlab x
# taken from Octave 3.2 sources
isdir.m text/x-matlab x
# hand-made
test.mo text/x-modelica xoo
# From https://bugs.freedesktop.org/show_bug.cgi?id=29733
bibtex.bib text/x-bibtex
# hand-made
simple-obj-c.m text/x-objcsrc
# Copied from LLVM project test suite
test.cl text/x-opencl-src ox
# hand-made
test.mc2 text/vnd.senx.warpscript ox

# http://www.apps.ietf.org/rfc/rfc4716.html#sec-3.6
ssh-public-key.txt text/plain
# http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-22
test.vcf text/vcard
# Genie source code
test.gs text/x-genie ox
# Test Go source code
test.go text/x-go oxo
# Qt Quick (QML) file
rectangle.qml text/x-qml
shebang.qml text/x-qml
plugins.qmltypes text/x-qml
text.qmlproject text/x-qml
# QtiPlot (qti) file
test.qti application/x-qtiplot
# Sass CSS pre-processor file
test.sass text/x-sass ox
# Scheme source code
# https://bugs.freedesktop.org/show_bug.cgi?id=31534
test.scm text/x-scheme ox
test.ss  text/x-scheme ox
test.scala text/x-scala ox
# Sass CSS pre-processor file
test.scss text/x-scss ox
# https://bugs.freedesktop.org/show_bug.cgi?id=56964
test.jnlp application/x-java-jnlp-file
# Python script
test.py text/x-python
test.pyx text/x-python ox
# Python 3 script
test3.py text/x-python3 x
test.py3 text/x-python3
# PySide
pyside.py text/x-python
# Perl
test.pl application/x-perl
test.pm application/x-perl
test.t application/x-perl
# Copied from http://en.wikipedia.org/wiki/Turtle_%28syntax%29#Example
test.ttl text/turtle ox
# Twig template
test.twig text/x-twig ox
test.rs text/rust ox
# Copied from http://digital-preservation.github.io/csv-schema/csv-schema-1.0.html#basics
test.csvs text/csv-schema ox
# Copied from http://coffeescript.org/#overview
test.coffee application/vnd.coffeescript ox
# Copied from https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md#applying-security-schemes
test.raml application/raml+yaml

# xml subtypes
../shared-mime-info-spec.xml application/x-docbook+xml xox
test.ttx application/x-font-ttx
gtk-builder.ui application/x-gtk-builder x
project.glade application/x-glade
# Copied from http://bugs.freedesktop.org/show_bug.cgi?id=14085
ISOcyr1.ent application/xml-external-parsed-entity ox
# Copied from http://www.metalinker.org/samples/abiword-setup-2.4.6.exe.metalink
test.metalink application/metalink+xml
# Copied from http://ooo.mirrorbrain.org/contrib/dictionaries/en_US.zip.meta4
en_US.zip.meta4 application/metalink4+xml
test.mml application/mathml+xml ox
# Qt Linguist: https://bugreports.qt.io/browse/QTBUG-64435
linguist.ts text/vnd.qt.linguist
test.xsl application/xslt+xml
pom.xml text/x-maven+xml ox
settings.xml text/x-maven+xml ox
test.cbl text/x-cobol ox
# Copied from http://docs.newzbin.com/index.php/Newzbin:NZB_Specs
sample1.nzb application/x-nzb
# Copied from http://www.w3.org/TR/owl2-xml-serialization/#Example_Ontology_.28Informative.29
test.owx application/owl+xml
# Copied from https://en.wikipedia.org/wiki/Portable_Game_Notation#Example
test.pgn application/vnd.chess-pgn

# Archives
# Copied from http://bugs.freedesktop.org/show_bug.cgi?id=14909
test.alz application/x-alz
# Copied from /usr/share/gettext/javaversion.class
test.class application/x-java
# Created with jar from OpenJDK 1.6.0_18-b18
test.jar application/x-java-archive ox
# Copied from http://bugs.freedesktop.org/show_bug.cgi?id=12620
hello.pack application/x-java-pack200
# Copied from http://www.apache.org/dist/httpd/binaries/win32/apache_2.2.9-win32-x86-no_ssl-r2.msi
test.msi application/x-msi ox
# Created using 7z
archive.7z application/x-7z-compressed
comics.cb7 application/x-cb7 ox
# Created using tar
archive.tar application/x-tar
comics.cbt application/x-cbt ox
# Created using lcab
copying.cab application/vnd.ms-cab-compressed
# XZ test case found in the test cases in the sources
good-1-delta-lzma2.tiff.xz application/x-xz
# https://bugs.freedesktop.org/show_bug.cgi?id=55254
sample.png.lzma application/x-lzma ox
spinboxes-0.1.1-Linux.tar.xz application/x-xz-compressed-tar ox
# Created using lzip 1.1
test.lz application/x-lzip
# Created using Ark 16.07.70 + libarchive 3.1.2
test.tar.lz application/x-lzip-compressed-tar ox
# Created using lzop 1.02rc1, lzo 2.03
test.lzo application/x-lzop
# Created using lrzip 0.45
archive.lrz application/x-lrzip
# Created using lz4 r110
test.lz4 application/x-lz4
# Created using Ark 16.07.70 + libarchive 3.2.0
test.tar.lz4 application/x-lz4-compressed-tar ox
# Created by zstd v1.3.5
test.zst application/zstd
# Created using Ark 18.11.70 + libarchive 3.3.3
test.tar.zst application/x-zstd-compressed-tar ox
# Copied from http://download.microsoft.com/download/7/e/5/7e58b1ce-d9e6-40e1-9d75-140fe5dd3de6/fuji.themepack
fuji.themepack application/x-windows-themepack ox
# Extracted from http://mozilla.doslash.org/stuff/helloworld.zip
helloworld.xpi application/x-xpinstall ox
# Created using imagex 6.0
test.wim application/x-ms-wim
# Created using Info-ZIP Zip 3.0
test.zip application/zip
# From /usr/lib64/vlc/libcompat.a
libcompat.a application/x-archive
libcompat.ar application/x-archive
# Created by hand
foo-0.1-1.fc18.src.rpm application/x-source-rpm ox
# Created using sharutils 4.11.1
test.uue text/x-uuencode
# From http://cdn.debian.net/debian/pool/main/d/debian-goodies/
debian-goodies_0.63_all.deb application/vnd.debian.binary-package
# Created using qpress 1.1
test.qp application/x-qpress
# Created using pigz 2.3.1
test.zz application/zlib ox
# Created using xar 1.5.2
test.xar application/x-xar
# From https://bugs.freedesktop.org/show_bug.cgi?id=93549
serafettin.rar application/vnd.rar

# Audio/Video files
# https://bugs.freedesktop.org/show_bug.cgi?id=20070#c4
test.aiff audio/x-aiff
# Copied from /usr/share/sounds/generic.wav
test.wav audio/x-wav
test.avi video/x-msvideo
# https://bugs.freedesktop.org/show_bug.cgi?id=55336
test.avf video/x-msvideo
# Copied from http://modarchive.org/index.php?request=view_by_moduleid&query=155849
hereyes_remake.mo3 audio/x-mo3
# Copied from http://media.annodex.net/cmmlwiki/CCFilm
ccfilm.axv video/annodex oxo
ccfilm.axv application/annodex xox
test.ogg audio/ogg oxx
test.ogg audio/x-vorbis+ogg x
test.opus audio/x-opus+ogg x
# Copied from http://bugzilla.gnome.org/show_bug.cgi?id=566661#c1
msg0001.gsm audio/x-gsm oxo
# Copied from www.freemxf.org
small_wav.mxf application/mxf
# Copied from http://devfiles.myopera.com/articles/1891/custom-controls-webm-360p.html
Elephants_Dream-360p-Stereo.webm video/webm
# http://bugs.freedesktop.org/show_bug.cgi?id=14276#c17
settopbox.ts video/mp2t xo
# https://bugs.freedesktop.org/show_bug.cgi?id=51118
test.ts video/mp2t x
# Bastien's hard drive
bbc.ram application/ram oxo
bbc.ram application/vnd.rn-realmedia xox
# Converted from test.wav
test-noid3.mp3 audio/mpeg
# "Back to the 80s" by Aqua, as purchased on Amazon US
xml-in-mp3.mp3 audio/mpeg
# http://samples.mplayerhq.hu/A-codecs/AAC/ct_faac-adts.aac
ct_faac-adts.aac audio/aac
# http://www.modarchive.org/module.php?38589
break.mtm audio/x-mod
# http://modarchive.org/module.php?174623
cyborg.med audio/x-mod
# http://modarchive.org/module.php?57259
simon.669 audio/x-mod
# http://modarchive.org/module.php?61261
4jsno.669 audio/x-mod
# Copied from https://github.com/inAudible-NG/audible-samples
test.aa audio/x-pn-audibleaudio
test.aax audio/x-pn-audibleaudio
# MPEG-4 files
mp4v1-video-header.mp4 video/mp4
mp4v2-video-header.mp4 video/mp4

# Disk and CD/DVD images
iso-file.iso application/x-cd-image oxo
bug106330.iso application/x-cd-image oxo
disk.img application/x-raw-disk-image oxo
disk.img.xz application/x-raw-disk-image-xz-compressed oxo
disk.raw-disk-image application/x-raw-disk-image oxo
disk.raw-disk-image.xz application/x-raw-disk-image-xz-compressed oxo
# Disk 1 of the Agony Amiga game truncated to 1Ko
adf-test.adf application/x-amiga-disk-format
# AppImage
Leafpad-0.8.17-x86_64.AppImage application/x-iso9660-appimage x
# AppImage (Type 2)
Leafpad-0.8.18.1.glibc2.4-x86_64.AppImage application/vnd.appimage
# SAP Thomson disk images
ripoux.sap application/x-thomson-sap-image
# HFE disk images
classiq1.hfe application/x-hfe-floppy-image
# Thomson cartridge and cassette formats
blitz.m7 application/x-thomson-cartridge-memo7 oxo
androide.k7 application/x-thomson-cassette oxo

# Video game ROMs
# Super Tank truncated to 1Ko
sg1000-test.sg application/x-sg1000-rom ox
# Sonic the Hedgehog truncated to 1Ko
sms-test.sms application/x-sms-rom ox
# Sonic the Hedgehog: Triple Trouble truncated to 1Ko
game-gear-test.gg application/x-gamegear-rom ox
genesis1.bin application/x-genesis-rom x
genesis2.bin application/x-genesis-rom x
mega-drive-rom.gen application/x-genesis-rom
32x-rom.32x application/x-genesis-32x-rom
pico-rom.bin application/x-sega-pico-rom x
# Kirby's Dream Land truncated to 1Ko
game-boy-test.gb application/x-gameboy-rom
# The Legend of Zelda: Link's Awakening truncated to 1Ko
game-boy-color-test.gbc application/x-gameboy-color-rom
# Sonic CD truncated to 1Ko
sega-cd-test.iso application/x-sega-cd-rom x
# NiGHTS into Dreams truncated to 1Ko
saturn-test.bin application/x-saturn-rom x
m64p_test_rom.n64 application/x-n64-rom
m64p_test_rom.v64 application/x-n64-rom
m64p_test_rom.z64 application/x-n64-rom
# Castlevania: The Adventure Rebirth truncated to 1Ko
wii.wad application/x-wii-wad x
# Mariobros from Atari 7800 truncated to 1Ko
atari-7800-test.A78 application/x-atari-7800-rom
# Samurai Shodown truncated to 1Ko
neo-geo-pocket-test.ngp application/x-neo-geo-pocket-rom
# Sonic the Hedgehog - Pocket Adventure truncated to 1Ko
neo-geo-pocket-color-test.ngc application/x-neo-geo-pocket-color-rom
# Pac-Man from Atari 2600 truncated to 1Ko
atari-2600-test.A26 application/x-atari-2600-rom ox
# Metroid truncated to 1Ko
Metroid_japan.fds application/x-fds-disk
# Chip's Challenge for Atari Lynx truncated to 1Ko
atari-lynx-chips-challenge.lnx application/x-atari-lynx-rom
# Rockman & Forte for WonderSwan truncated to 1Ko
wonderswan-rockman-forte.ws application/x-wonderswan-rom ox
# Hataraku Chocobo for WonderSwan Color truncated to 1Ko
wonderswan-color-chocobo.wsc application/x-wonderswan-color-rom ox
# Penguin Adventure for MSX truncated to 1Ko
msx-penguin-adventure.msx application/x-msx-rom ox
# Metal Gear for MSX 2 truncated to 1Ko
msx2-metal-gear.msx application/x-msx-rom ox
# Wario Land for Virtual Boy truncated to 1Ko
virtual-boy-wario-land.vb application/x-virtual-boy-rom ox

# Video game packages
# DOOM1.WAD trucated to 1Ko
IWAD.WAD application/x-doom-wad
# ICARUS.WAD trucated to 1Ko
PWAD.WAD application/x-doom-wad

# Models
cube.igs model/iges
cube.wrl model/vrml

# other
text.pdf application/pdf
text.wwf application/x-wwf oxo
README.pdf application/pdf
# From https://bugs.freedesktop.org/show_bug.cgi?id=29083#c2
testcase.is-really-a-pdf application/pdf xo
pdf-not-matlab application/pdf x
# Created using lzip 1.18
test.pdf.lz application/x-lzpdf ox
test.pdf.xz application/x-xzpdf ox
Makefile text/x-makefile ox
Makefile.gnu text/x-makefile ox
googleearth.kml application/vnd.google-earth.kml+xml ox
# Created using geojson.io
test.geojson application/geo+json ox
test.geo.json application/geo+json ox
# Copied from https://en.wikipedia.org/wiki/GPS_Exchange_Format
test.gpx application/gpx+xml ox
# Copied from http://wiki.openstreetmap.org/wiki/GPX
test10.gpx application/gpx+xml ox
# Copied from http://bugs.freedesktop.org/show_bug.cgi?id=15260
test.gnd application/gnunet-directory
# Copied from https://bugs.freedesktop.org/show_bug.cgi?id=27441
markdown.md text/markdown oxo
# Manually assembled from formatting examples at https://en.wikipedia.org/wiki/ReStructuredText
reStructuredText.rst text/x-rst ox
text.ps application/postscript
text.ps.gz application/x-gzpostscript ox
text.PS.gz application/x-gzpostscript oxo
test.cmake text/x-cmake ox
meson.build text/x-meson ox
meson_options.txt text/x-meson ox
bluerect.mdi image/vnd.ms-modi
Stallman_Richard_-_The_GNU_Manifesto.fb2 application/x-fictionbook+xml
Stallman_Richard_-_The_GNU_Manifesto.fb2.zip application/x-zip-compressed-fb2
test.p7b application/x-pkcs7-certificates ox
test.pkipath application/pkix-pkipath ox
test.jks application/x-java-keystore
test.jceks application/x-java-jce-keystore
test.p12 application/pkcs12 ox
test.sav application/x-spss-sav
test.por application/x-spss-por
core application/x-core ox
Core application/x-zerosize x
# Copied from xcalib, http://xcalib.sourceforge.net/
bluish.icc application/vnd.iccprofile
# Generated by hand
test.it87 application/x-it87
test.hdf4 application/x-hdf
test.h5 application/x-hdf
# From http://wiki.wireshark.org/SampleCaptures (ancp.pcap.gz, dns.cap)
ancp.pcap application/vnd.tcpdump.pcap
dns.cap application/vnd.tcpdump.pcap
# Created using Shalom Help Maker
test.hlp application/winhlp
# Case-insensitive glob
testcompress.z application/x-compress
one-file.tnef application/vnd.ms-tnef
# Generated by hand
test.ccmx application/x-ccmx
# Generated from test-gettext.c with `xgettext -k_ -o test.pot test-gettext.c`
test.pot text/x-gettext-translation-template x
# Generated from test-en.po with `msgfmt -o test-en.mo test-en.po`
test-en.mo application/x-gettext-translation
# Copied from https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-2.00.1.tar.gz
LiberationSans-Regular.ttf font/ttf
# Converted from LiberationSans-Regular.ttf with http://ttf2woff.com/
LiberationSans-Regular.woff font/woff
nrl.trig application/trig oxo
# Copied from http://git.savannah.gnu.org/cgit/gnash.git/plain/testsuite/samples/subshapes.swf
subshapes.swf application/vnd.adobe.flash.movie
hello.xdgapp application/vnd.flatpak
hello.flatpak application/vnd.flatpak
gnome.flatpakrepo application/vnd.flatpak.repo
gedit.flatpakref application/vnd.flatpak.ref
image.sqsh application/vnd.squashfs
example_42_all.snap application/vnd.snap ox
# Created with bsdiff 4.3
test.bsdiff application/x-bsdiff
# Generated with sqlite3 3.19.3
test.sqlite3 application/vnd.sqlite3
# Generated with sqlite 2.8.17
test.sqlite2 application/x-sqlite2
COPYING-encrypted.asc application/pgp-encrypted xoo
# clear text signatures should not have the same mime type as detached signatures
COPYING-clearsign.asc application/pgp-signature xxx
COPYING-clearsign.asc application/pgp-keys xxx
COPYING.asc application/pgp-signature xoo
test-public-key.asc application/pgp-keys xoo
test-secret-key.skr application/pgp-keys ooo
test-secret-key.asc application/pgp-keys xoo
# not all *.key should be detected as Apple Keynote
test-secret.key application/pgp-keys x
test-garbage.key application/octet-stream x

# copied from https://bitbucket.org/scons/scons/raw/f0d4664d36f8a4d4da53178cf947c86c86db3cb7/SConstruct
SConstruct text/x-scons oxo
#copied from https://sourceforge.net/p/wesnoth/code/ci/master/tree/src/SConscript?format=raw
SConscript text/x-scons oxo
# copied from https://raw.githubusercontent.com/mongodb/mongo/master/SConscript.buildinfo
SConscript.buildinfo text/x-scons oxo

# systemd units
systemd.automount text/x-systemd-unit
systemd.device text/x-systemd-unit
systemd.mount text/x-systemd-unit
systemd.path text/x-systemd-unit
systemd.scope text/x-systemd-unit
systemd.service text/x-systemd-unit xoo
systemd.slice text/x-systemd-unit
systemd.socket text/x-systemd-unit
systemd.swap text/x-systemd-unit
systemd.target text/x-systemd-unit
systemd.timer text/x-systemd-unit
dbus.service text/x-systemd-unit xxx
dbus-comment.service text/x-systemd-unit xxx

# D-Bus services
dbus.service text/x-dbus-service
dbus-comment.service text/x-dbus-service

# 3D models and GCODEs
binary.stl model/stl oxo
ascii.stl model/stl
test.gcode text/x.gcode ox

# QEMU disk image
disk.qcow2 application/x-qemu-disk
