The "test-mimetype" command:

Usage: fossil test-mimetype FILENAME...
Return the deduced mimetype for each file listed.
If Fossil is compiled with -DFOSSIL_DEBUG then the "mimetype-test"
filename is special and verifies the integrity of the mimetype table.
It should return "ok".