xref: /illumos-gate/usr/src/test/util-tests/tests/mdb/README (revision d77e6e0f12d19668c0e9068c0fcd7a2123da5373)
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