hush: add recent ash tests to hush testsuite too (they all pass for hush)

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2015-05-18 10:23:16 +02:00
parent 523006798c
commit 9a595bb36d
18 changed files with 29 additions and 0 deletions
@@ -0,0 +1,3 @@
unset a
echo $((3 + ${a:=$((4 + 5))}))
echo $a
@@ -0,0 +1,2 @@
unset a
echo "${a:-~root}"
@@ -0,0 +1,3 @@
a=/b/c/*
b=\\
echo ${a%$b*}
@@ -0,0 +1,2 @@
v="a\bc"
echo ${v/\\b/_\\_\z_}
@@ -0,0 +1,2 @@
v="abc"
echo ${v/b/x/y}
@@ -0,0 +1,2 @@
v="abcabc"
echo ${v/b/x}
@@ -0,0 +1,2 @@
v="abcabc"
echo ${v//b/x}
@@ -0,0 +1,2 @@
v="ab/c"
echo ${v/b\//x}
@@ -0,0 +1 @@
<>
@@ -0,0 +1 @@
foo=\\ echo "<${foo#[\\]}>"