aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/lexer/command-line.test
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/test/script/lexer/command-line.test')
-rw-r--r--unit-tests/test/script/lexer/command-line.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/unit-tests/test/script/lexer/command-line.test b/unit-tests/test/script/lexer/command-line.test
index 765b59a..4a71d46 100644
--- a/unit-tests/test/script/lexer/command-line.test
+++ b/unit-tests/test/script/lexer/command-line.test
@@ -40,6 +40,18 @@ $* <:"1 >-" >>EOO # arg-out-null-redirect
>-
EOO
+$* <:"1>&2" >>EOO # merge-redirect
+'1'
+>&
+'2'
+EOO
+
+$* <:"1 >&2" >>EOO # arg-merge-redirect
+'1 '
+>&
+'2'
+EOO
+
$* <:"0<a b" >>EOO # in-str-redirect
'0'
<