xref: /titanic_51/usr/src/cmd/mdb/test/README (revision 1a5e258f5471356ca102c7176637cdce45bac147)
1MDB Test suite
2
3This provides a primordial version of a test suite for mdb. To run the tests,
4run mtest. Tests exist in various subdirectories. The name of the test is
5important.
6
7A test must start with either:
8
9 o tst - Indicating that it should exit zero
10 o err - Indicating that it should exit non-zero
11
12A test must end with either:
13
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
16
17A test may have an optional .out file which if present indicates that the test
18should pass if and only if its standard ouput matches its standar error.
19