xref: /freebsd/contrib/file/tests/README (revision b6cee71d)
128a8b562SDavid E. O'Brienfile tests
228a8b562SDavid E. O'Brien==========
328a8b562SDavid E. O'Brien
428a8b562SDavid E. O'BrienThis directory contains tests for file. It is highly encouraged to add
528a8b562SDavid E. O'Brienone each time a bug is found, and each time new magic is added. Each
6*b6cee71dSXin LItest consists of two files:
728a8b562SDavid E. O'Brien
828a8b562SDavid E. O'Brien  TEST.testfile
928a8b562SDavid E. O'Brien  TEST.result
1028a8b562SDavid E. O'Brien
11*b6cee71dSXin LIwhere TEST is the base name of the test, TEST.testfile is the input,
12*b6cee71dSXin LIand TEST.result is the desired output from file.
1328a8b562SDavid E. O'Brien
14*b6cee71dSXin LITo add a new test just add the test files to the directory.
15