aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/lexer/command-expansion.test
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/test/script/lexer/command-expansion.test')
-rw-r--r--unit-tests/test/script/lexer/command-expansion.test18
1 files changed, 18 insertions, 0 deletions
diff --git a/unit-tests/test/script/lexer/command-expansion.test b/unit-tests/test/script/lexer/command-expansion.test
index d405de6..ffbb944 100644
--- a/unit-tests/test/script/lexer/command-expansion.test
+++ b/unit-tests/test/script/lexer/command-expansion.test
@@ -68,6 +68,24 @@ test.arguments = command-expansion
EOO
}
+: trace-redirect
+:
+{
+ : out
+ :
+ $* <:"1>!" >>EOO
+ '1'
+ >!
+ EOO
+
+ : arg-out
+ :
+ $* <:"1 >!" >>EOO
+ '1 '
+ >!
+ EOO
+}
+
: merge-redirect
:
{