aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-parsing
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-19 13:57:51 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-19 13:57:51 +0000
commitbf25fbccb9b2641c77685ac0a537e8068b6b354a (patch)
tree8be416c9a03d440259007697664566f50f21f93e /shell/hush_test/hush-parsing
parenta29c935442869310c4af45c78446b34d370ff53c (diff)
downloadbusybox-bf25fbccb9b2641c77685ac0a537e8068b6b354a.tar.gz
hush: fix handling of } which is not a closing one in { cmd; }
function old new delta parse_stream 2176 2302 +126 builtin_unset 381 387 +6
Diffstat (limited to 'shell/hush_test/hush-parsing')
-rw-r--r--shell/hush_test/hush-parsing/group1.right1
-rw-r--r--shell/hush_test/hush-parsing/group1.tests1
2 files changed, 2 insertions, 0 deletions
diff --git a/shell/hush_test/hush-parsing/group1.right b/shell/hush_test/hush-parsing/group1.right
new file mode 100644
index 000000000..6a7c4be0a
--- /dev/null
+++ b/shell/hush_test/hush-parsing/group1.right
@@ -0,0 +1 @@
+word} }
diff --git a/shell/hush_test/hush-parsing/group1.tests b/shell/hush_test/hush-parsing/group1.tests
new file mode 100644
index 000000000..f063fbcb3
--- /dev/null
+++ b/shell/hush_test/hush-parsing/group1.tests
@@ -0,0 +1 @@
+{ echo word} }; }