aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-01 16:35:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:37 +0200
commit4a4e5ad3c50619ad7653b01b562af9794c97aa80 (patch)
tree3feef6e7889e5673f7212d2f3ff2c34ca871b7ab /doc
parent89f8e08550d437eedd16f6aa0cc5333a7db75bea (diff)
Implement command-pipe, command-expr in testscript parser
Diffstat (limited to 'doc')
-rw-r--r--doc/testscript.cli9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/testscript.cli b/doc/testscript.cli
index 7ed9649..e4f59e4 100644
--- a/doc/testscript.cli
+++ b/doc/testscript.cli
@@ -734,9 +734,12 @@ description:
variable-line: <variable> ('='|'+='|'=+') value-attributes? <value>
value-attributes: '[' <key-value-pairs> ']'
-setup-line: '+' command
-teardown-line: '-' command
-test-line: command
+setup-line: '+' command-expr
+teardown-line: '-' command-expr
+test-line: command-expr
+
+command-expr: command-pipe (('||'|'&&') command-pipe)*
+command-pipe: command ('|' command)*
command: <path>(' '+(<arg>|redirect|cleanup))* command-exit?
*here-document