58a0f0d00c
Merge the latest file(1) in. Relevent Changelog: - extend the support for ${x?:} expansions for magic descriptions - add support for ${x?:} in mime types to handle pie binaries. - add support for negative offsets (offsets from the end of file) - close the file on error when writing magic Relnotes: yes |
||
---|---|---|
.. | ||
escapevel.result | ||
escapevel.testfile | ||
gedcom.result | ||
gedcom.testfile | ||
hddrawcopytool.result | ||
hddrawcopytool.testfile | ||
issue311docx.result | ||
issue311docx.testfile | ||
Makefile.am | ||
Makefile.in | ||
README | ||
test.c |
file tests ========== This directory contains tests for file. It is highly encouraged to add one each time a bug is found, and each time new magic is added. Each test consists of two files: TEST.testfile TEST.result where TEST is the base name of the test, TEST.testfile is the input, and TEST.result is the desired output from file. To add a new test just add the test files to the directory.