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