summaryrefslogtreecommitdiffstats
path: root/tests/README
blob: 5826773a977273df74e83dbe825359c6fc9cda6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.