diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-09-02 19:20:29 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-09-02 19:20:29 +0100 |
commit | f16588d5c07ec4e7fb08d2de2575258c36210fea (patch) | |
tree | 6e9fbbce73e88ac5d818921791d7009a8406dd12 /yarn.1.in | |
parent | 3573f2213988fdc477d3cbf123981f7397f42cdb (diff) | |
download | cmdtest-f16588d5c07ec4e7fb08d2de2575258c36210fea.tar.gz |
Document DATADIR and SRCDIR in the manpage
Diffstat (limited to 'yarn.1.in')
-rw-r--r-- | yarn.1.in | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -109,7 +109,26 @@ by a programmer, but given a well-designed set of steps, with enough flexibility in their implementation, that quite a good test suite can be written. +.PP +The shell commands in an IMPLEMENTS section are run in the directory +in which the user ran +.BR yarn . +The environment variable +.B SRCDIR +is set to the fully qualified path to that directory. .SH OPTIONS +.SH ENVIRONMENT +.TP +.B DATADIR +Fully qualified pathname to a temporary directory, +in which the tests can use files. +The temporary directory is removed at the end of the test execution, +unless the user specifies otherwise with \-\-snapshot. +.TP +.B SRCDIR +Fully qualitifed pathname to the directory in which the user ran +.BR yarn . +This is useful when the tests want to change the directory. .SH EXAMPLE To run .B yarn |