freebsd-skq/contrib/file/tests
eadler ff5cee9324 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 MFV r323678: file 5.32 2017-09-17 19:14:38 +00:00
hddrawcopytool.testfile MFV r323678: file 5.32 2017-09-17 19:14:38 +00:00
issue311docx.result
issue311docx.testfile
Makefile.am MFV r323678: file 5.32 2017-09-17 19:14:38 +00:00
Makefile.in MFV: file 5.33 2018-05-20 05:06:42 +00:00
README
test.c MFV r323678: file 5.32 2017-09-17 19:14:38 +00:00

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.