diff options
-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 |