summaryrefslogtreecommitdiff
path: root/usr/src/test/util-tests/tests/mdb/README
blob: 28127e59160a19b6c07c92dcf4a816918fed60f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
MDB Test suite

This provides a primordial version of a test suite for mdb. To run the tests,
run mtest. Tests exist in various subdirectories. The name of the test is
important.

A test must start with either:

 o tst - Indicating that it should exit zero
 o err - Indicating that it should exit non-zero

A test must end with either:

 o mdb - Indicating that the file should be passed as standard input to mdb
 o ksh - Indicating that it should be run with ksh

A test may have an optional .out file which if present indicates that the test
should pass if and only if its standard ouput matches its standar error.