freebsd-nq/contrib/file/tests
Eitan Adler 58a0f0d00c MFV: file 5.33
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
2018-05-20 05:06:42 +00:00
..
escapevel.result
escapevel.testfile
gedcom.result
gedcom.testfile
hddrawcopytool.result
hddrawcopytool.testfile
issue311docx.result
issue311docx.testfile
Makefile.am
Makefile.in MFV: file 5.33 2018-05-20 05:06:42 +00:00
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.