NIHTEST-CASE(5) | File Formats Manual | NIHTEST-CASE(5) |
nihtest-case
—
Lines beginning with “#” are comments.
The following commands are recognized. The
return
and args
commands
must appear exactly once, the others are optional.
args
[args ...]description
textfeatures
feature ...HAVE_FOO
is defined in the file, the feature
FOO
is assumed to be available, otherwise not. See
also the description of top-build-directory
in
nihtest-config(5).file
test in [out]file-del
test infile-new
test outprecheck
command [args ...]preload
libraryprogram
prgargs
above for its command line arguments. If this
directive is omitted, default-program
from
nihtest.conf is run.return
retsetenv
var valuestderr
textstderr
commands are
used, the messages are expected in the order given.stderr-replace
pattern replacementstderr
before
comparing them. pattern is the match expression,
replacement is the replacement expression. In the
replacement expression, “$1” to “$9” are
replaced with the content of the corresponding “(...)” match
in the pattern. See
re_format(7) for details.stdin
textstdin
commands are used, the messages are
expected in the order given.stdin-file
filestdout
textstdout
commands are
used, the messages are expected in the order given.June 2, 2020 | NiH |