From c130ef42628648b15824a3ab8514972603cbc3c4 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 23 Jun 2022 13:07:09 +0200 Subject: Upd rules doc on writable directories available to test runners --- shell/test/RULES | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'shell/test') 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" -- cgit v1.2.3