aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/lexer/script-line.test
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/test/script/lexer/script-line.test')
-rw-r--r--unit-tests/test/script/lexer/script-line.test8
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'
<