summaryrefslogtreecommitdiff
path: root/cmdtest.1.in
diff options
context:
space:
mode:
Diffstat (limited to 'cmdtest.1.in')
-rw-r--r--cmdtest.1.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/cmdtest.1.in b/cmdtest.1.in
index 4791bb1..c76f30c 100644
--- a/cmdtest.1.in
+++ b/cmdtest.1.in
@@ -117,10 +117,21 @@ it is treated as if it were empty.
If the exit code file is missing, it is treated as if it specified an exit
code of zero.
.PP
-The shell scripts may use the following environment variable:
+The shell scripts may use the following environment variables:
.TP
.B DATADIR
a temporary directory where files may be created by the test
+.TP
+.B TESTNAME
+name of the current test (will be empty for
+.B setup-once
+and
+.BR teardown-once )
+.TP
+.B SRCDIR
+directory from which
+.B cmdtest
+was launched
.SH OPTIONS
.SH EXAMPLE
To test that the