diff options
Diffstat (limited to 'test/asset/shell/expansion.et')
| -rw-r--r-- | test/asset/shell/expansion.et | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/asset/shell/expansion.et b/test/asset/shell/expansion.et new file mode 100644 index 0000000..b947eb6 --- /dev/null +++ b/test/asset/shell/expansion.et @@ -0,0 +1,20 @@ +test Test: + node n + + let str = "some string" + let int = 2 + 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 + echo ${str}O P$str |