| ITEST(1) | General Commands Manual | ITEST(1) |
itest, itreplay - run tests and replay results
itest [ -eo ] [ -c cflag ] [ -r count ] [ -v vlevel ] [ -C configfile ] [ -R recordroot ] [ testdir ... ]
itreplay [ -eo ] [ -v verbosity ] [ recorddir ... ]
Itest runs a sequence of tests, optionally recording all the results in a directory tree. The itreplay command replays the results of one or more recorded tests. Some options are common to both commands:
The tests run by itest are specified as one or more directories either on the command line or in a configuration file. Options:
The test results to be replayed by itreplay are specified on the command line as one or more record directories.
A test directory must contain either a t.dis file or a t.sh file, depending on whether the test is written as a Limbo program or as a sh (1) script. Limbo programs should use itslib (2); sh scripts should use sh-test (2). A test directory should also contain a README file (which is displayed by itest if the verbosity level is greater than 8), and any other files required for the test.
Tests are run with their working directory set to their own test directory.
Each record directory contains a number of files:
/appl/cmd/itest.b
/appl/cmd/itreplay.b