diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-10-26 21:22:10 +0300 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:36 +0200 |
commit | 023d8d8b040d5fce821080b016b4ce25eb67550d (patch) | |
tree | 9524aa8cb18bcca33ec89f4cd4ef2b87fb3a65e8 /unit-tests/test/script/lexer/script-line.test | |
parent | 5daf46f700217521e8ba90c4be0e0369105544df (diff) |
Add support of merge redirect to testscript parser
Diffstat (limited to 'unit-tests/test/script/lexer/script-line.test')
-rw-r--r-- | unit-tests/test/script/lexer/script-line.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/unit-tests/test/script/lexer/script-line.test b/unit-tests/test/script/lexer/script-line.test index a217591..36d440c 100644 --- a/unit-tests/test/script/lexer/script-line.test +++ b/unit-tests/test/script/lexer/script-line.test @@ -33,6 +33,14 @@ $* <"cmd <- 1>-" >>EOO # null-redirect <newline> EOO +$* <"cmd 1>&2" >>EOO # merge-redirect +'cmd' +'1' +>& +'2' +<newline> +EOO + $* <"cmd <a 1>b" >>EOO # str-redirect 'cmd' < |