summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2022-06-23 13:07:09 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2022-06-23 16:11:51 +0200
commitc130ef42628648b15824a3ab8514972603cbc3c4 (patch)
tree6c752fa44c9eae558c4bd6bb1c7e0ca411b9d378 /shell
parent816db9ca82bbcc5c953a5f6449d6768941749888 (diff)
downloadrules-cc-c130ef42628648b15824a3ab8514972603cbc3c4.tar.gz
Upd rules doc on writable directories available to test runners
Diffstat (limited to 'shell')
-rw-r--r--shell/test/RULES10
1 files changed, 9 insertions, 1 deletions
diff --git a/shell/test/RULES b/shell/test/RULES
index c4beec4..4242d94 100644
--- a/shell/test/RULES
+++ b/shell/test/RULES
@@ -4,7 +4,15 @@
, "string_fields": ["keep", "name"]
, "config_vars": ["RUNS_PER_TEST", "TEST_ENV"]
, "field_doc":
- { "test": ["The shell script for the test, launched with sh"]
+ { "test":
+ [ "The shell script for the test, launched with sh."
+ , ""
+ , "An empty directory is created to store any temporary files needed"
+ , "by the test, and it is made available in the environment variable"
+ , "TEST_TMPDIR. The test should not assume write permissions"
+ , "outside the working directory and the TEST_TMPDIR."
+ , "For convenience, the environment variable TMPDIR is also set to TEST_TMPDIR."
+ ]
, "name":
[ "A name for the test, used in reporting, as well as for staging"
, "the test result tree in the runfiles"