aboutsummaryrefslogtreecommitdiff
path: root/tests/FILEFORMAT
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-05-19 13:06:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-05-19 13:06:10 +0000
commit7723a24297f78e3e191813410067db5f1dbca9d2 (patch)
tree46500185459b4b26b95331ad72115f4ccfb74638 /tests/FILEFORMAT
parent95a4b8db680beeca879f39c161296d29e22138f1 (diff)
setenv support added to allow test cases to require a set of environment
variables
Diffstat (limited to 'tests/FILEFORMAT')
-rw-r--r--tests/FILEFORMAT8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT
index 356b0c0c0..2fd906487 100644
--- a/tests/FILEFORMAT
+++ b/tests/FILEFORMAT
@@ -66,6 +66,14 @@ in the libtest/ directory.
test case description
</name>
+<setenv>
+variable1=contents1
+variable2=contents2
+
+Set the given environment variables to the specified value before the actual
+command is run, they are clear again after the command has been run.
+</setenv>
+
<command [option=no-output]>
command line to run, there's a bunch of %variables that get replaced
accordingly. more about them elsewhere