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