xref: /minix3/external/bsd/file/dist/tests/README (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1ef01931fSBen Grasfile tests
2ef01931fSBen Gras==========
3ef01931fSBen Gras
4ef01931fSBen GrasThis directory contains tests for file. It is highly encouraged to add
5ef01931fSBen Grasone each time a bug is found, and each time new magic is added. Each
6*0a6a1f1dSLionel Sambuctest consists of two files:
7ef01931fSBen Gras
8ef01931fSBen Gras  TEST.testfile
9ef01931fSBen Gras  TEST.result
10ef01931fSBen Gras
11*0a6a1f1dSLionel Sambucwhere TEST is the base name of the test, TEST.testfile is the input,
12*0a6a1f1dSLionel Sambucand TEST.result is the desired output from file.
13ef01931fSBen Gras
14*0a6a1f1dSLionel SambucTo add a new test just add the test files to the directory.
15