summaryrefslogtreecommitdiff
path: root/test/asset/shell/echo.et
diff options
context:
space:
mode:
Diffstat (limited to 'test/asset/shell/echo.et')
-rw-r--r--test/asset/shell/echo.et22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/asset/shell/echo.et b/test/asset/shell/echo.et
new file mode 100644
index 0000000..4da319e
--- /dev/null
+++ b/test/asset/shell/echo.et
@@ -0,0 +1,22 @@
+test Echo:
+ node n
+ let echo_str = "echo"
+ let space_str = "a b"
+
+ shell on n as sh:
+ echo a b c
+ echo "a b c"
+ echo 'a b d'
+ echo a b " c d"
+
+ /bin/echo "abcd" xyz
+ "echo" a"a" "b"c d
+ $echo_str b $echo_str c
+
+ echo "$space_str"
+ echo $space_str
+ echo '$space_str'
+
+ echo \$ \" \\
+ echo "\""\""a"
+ echo "'" '"' '\\\' "\\"