7712 mandoc -Tlint does always exit with error code 0
[unleashed.git] / usr / src / cmd / mdb / test / README
blob28127e59160a19b6c07c92dcf4a816918fed60f0
1 MDB Test suite
3 This provides a primordial version of a test suite for mdb. To run the tests,
4 run mtest. Tests exist in various subdirectories. The name of the test is
5 important.
7 A test must start with either:
9  o tst - Indicating that it should exit zero
10  o err - Indicating that it should exit non-zero
12 A test must end with either:
14  o mdb - Indicating that the file should be passed as standard input to mdb
15  o ksh - Indicating that it should be run with ksh
17 A test may have an optional .out file which if present indicates that the test
18 should pass if and only if its standard ouput matches its standar error.