summaryrefslogtreecommitdiff
path: root/test/asset
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-09-05 08:47:43 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2026-09-06 20:23:58 +0200
commita8f93733a9d2df0859d585a11bdd39762f3c37a8 (patch)
treed91e465fd94d7626ad5dd9aad1446264ac26a9c8 /test/asset
parenta9439b66ad8f7a8f4ba079a47ecfe1e76c2abc4b (diff)
Expression expansion for shell command
Diffstat (limited to 'test/asset')
-rw-r--r--test/asset/shell/expansion.et6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/asset/shell/expansion.et b/test/asset/shell/expansion.et
index 050efba..3f318ab 100644
--- a/test/asset/shell/expansion.et
+++ b/test/asset/shell/expansion.et
@@ -6,8 +6,14 @@ test Test:
let num = 4.5
let list = [ "a b", "c d", "e", "f" ]
let ilist = [ 1 .. 5 ]
+ let cmd = "echo"
+ let cmdlist = [ "echo", "w", "x y", " z " ]
+ let special = [ "<", ">", "| &", ";" ]
shell on n as sh:
echo A $str B $int $num C
echo D $list E
echo F $ilist G
+ $cmd H I
+ $cmdlist J
+ $cmdlist K $ilist L $int M $special N