diff options
Diffstat (limited to 'doc/testscript.cli')
-rw-r--r-- | doc/testscript.cli | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/testscript.cli b/doc/testscript.cli index 027fb64..b12ca98 100644 --- a/doc/testscript.cli +++ b/doc/testscript.cli @@ -713,12 +713,14 @@ variable-line: <variable> ('='|'+='|'=+') value-attributes? <value> value-attributes: '[' <key-value-pairs> ']' test-line: - command command-exit? - *here-document + *((variable-line|command-line) ';') + command-line -command-exit: ('=='|'!=') <exit-status> +command-line: + command -command: <path>(' '+(<arg>|stdin|stdout|stderr))* +command: <path>(' '+(<arg>|stdin|stdout|stderr))* command-exit? + *here-document stdin: '0'?('<!'|\ '<' <text>|\ @@ -732,6 +734,8 @@ stderr: '2'('>!'|\ '>' <text>|\ '>>' <here-end>) +command-exit: ('=='|'!=') <exit-status> + here-document: *<text> <here-end> |