summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-09-15 15:42:56 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-09-15 15:42:56 +0200
commit304aeace1b4e0067430caffa8bcc1af34a6455dd (patch)
tree759f32018656e47816748914ca7ee53558a65468
parent8854b9284b5a14b3b5b2e64a72f3b5c3165a726a (diff)
downloadcurl-304aeace1b4e0067430caffa8bcc1af34a6455dd.tar.gz
tests/FILEFORMAT: document type=shell for <command>
-rw-r--r--tests/FILEFORMAT.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/FILEFORMAT.md b/tests/FILEFORMAT.md
index dcbd1a85a..c8f7e8391 100644
--- a/tests/FILEFORMAT.md
+++ b/tests/FILEFORMAT.md
@@ -380,7 +380,7 @@ Brief test case description, shown when the test runs.
Set the given environment variables to the specified value before the actual
command is run. They are cleared again after the command has been run.
-### `<command [option="no-output/no-include/force-output/binary-trace"] [timeout="secs"][delay="secs"][type="perl"]>`
+### `<command [option="no-output/no-include/force-output/binary-trace"] [timeout="secs"][delay="secs"][type="perl/shell"]>`
Command line to run.
Note that the URL that gets passed to the server actually controls what data
@@ -398,6 +398,9 @@ the address "[1234::ff]" would be treated as test case 255.
Set `type="perl"` to write the test case as a perl script. It implies that
there's no memory debugging and valgrind gets shut off for this test.
+Set `type="shell"` to write the test case as a shell script. It implies that
+there's no memory debugging and valgrind gets shut off for this test.
+
Set `option="no-output"` to prevent the test script to slap on the `--output`
argument that directs the output to a file. The `--output` is also not added
if the verify/stdout section is used.