diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-07-31 18:40:03 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-07-31 18:40:03 +0100 |
commit | 8e8b0139119f102b08283c528ddbae70728bc188 (patch) | |
tree | 72fd4666cf08f4a25f0b41b34dda1eb763adadd3 /README.yarn | |
parent | 2399b141f96604818c3a05b1e7e2cc1a8505f3b8 (diff) | |
download | cmdtest-8e8b0139119f102b08283c528ddbae70728bc188.tar.gz |
Add SRCDIR to the README
Diffstat (limited to 'README.yarn')
-rw-r--r-- | README.yarn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/README.yarn b/README.yarn index 76d57b5..7006a66 100644 --- a/README.yarn +++ b/README.yarn @@ -136,6 +136,10 @@ The following keywords are defined. The test runner creates a temporary directory, whose name is given to the shell code in the `DATADIR` environment variable. + The test runner sets the `SRCDIR` environment variable to the + path to the directory it was invoked from (by convention, the + root of the source tree of the project). + The shell commands get invoked with `/bin/sh -eu`, and need to be written accordingly. Be careful about commands that return a non-zero exit code. There will eventually be a library of shell |