diff options
Diffstat (limited to 'README.yarn')
-rw-r--r-- | README.yarn | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/README.yarn b/README.yarn index 7006a66..16f7522 100644 --- a/README.yarn +++ b/README.yarn @@ -140,6 +140,11 @@ The following keywords are defined. path to the directory it was invoked from (by convention, the root of the source tree of the project). + The test runner removes all other environment variables, except + `TERM`, `USER`, `USERNAME`, `LOGNAME`, `HOME`, and `PATH`. It also + forces `SHELL` set to `/bin/sh`, and `LC_ALL` set to `C`, in order + to have as clean an environment as possible for tests to run in. + 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 |