aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-17 03:35:31 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-17 03:35:31 +0100
commitf3e2818895a6f570a365001f625946a1b75c085a (patch)
tree8bd5ba3dad83b32439be4f7e166aa0eb6ab6384e /shell/hush_test
parent160746b60398a8a018e1791e259504f9d97a1b33 (diff)
downloadbusybox-f3e2818895a6f570a365001f625946a1b75c085a.tar.gz
hush: improve HUSH_BRACE_EXP code (still disabled). ~0 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test')
-rw-r--r--shell/hush_test/hush-parsing/brace2.right3
-rwxr-xr-xshell/hush_test/hush-parsing/brace2.tests5
2 files changed, 8 insertions, 0 deletions
diff --git a/shell/hush_test/hush-parsing/brace2.right b/shell/hush_test/hush-parsing/brace2.right
new file mode 100644
index 000000000..37a966654
--- /dev/null
+++ b/shell/hush_test/hush-parsing/brace2.right
@@ -0,0 +1,3 @@
+{q,w}
+{q,w}
+Done
diff --git a/shell/hush_test/hush-parsing/brace2.tests b/shell/hush_test/hush-parsing/brace2.tests
new file mode 100755
index 000000000..ef75f0b70
--- /dev/null
+++ b/shell/hush_test/hush-parsing/brace2.tests
@@ -0,0 +1,5 @@
+v='{q,w}'
+# Should not brace-expand v value
+echo $v
+echo "$v"
+echo Done