From 4a4e5ad3c50619ad7653b01b562af9794c97aa80 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 1 Nov 2016 16:35:47 +0200 Subject: Implement command-pipe, command-expr in testscript parser --- doc/testscript.cli | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'doc') 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: ('='|'+='|'=+') value-attributes? value-attributes: '[' ']' -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: (' '+(|redirect|cleanup))* command-exit? *here-document -- cgit v1.1