summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-parsing
diff options
context:
space:
mode:
authorDenis Vlasenko2007-05-16 09:36:55 +0000
committerDenis Vlasenko2007-05-16 09:36:55 +0000
commit8f6bdb42df745425ba0ac085467105e9cc61c817 (patch)
tree06e545effca8a1a64a812f19f1cc63e16892e055 /shell/hush_test/hush-parsing
parent418a7fb29b19e42818b5df681c83b3bfc62db3c6 (diff)
downloadbusybox-8f6bdb42df745425ba0ac085467105e9cc61c817.zip
busybox-8f6bdb42df745425ba0ac085467105e9cc61c817.tar.gz
hush: fix incorrect processing of echo "'$var'".
hush: rename map[] and MAP_xxx, making them easier to understand. hush: move testcase (which now passes) from hush-bugs to hush-parsing
Diffstat (limited to 'shell/hush_test/hush-parsing')
-rw-r--r--shell/hush_test/hush-parsing/quote1.right1
-rwxr-xr-xshell/hush_test/hush-parsing/quote1.tests2
2 files changed, 3 insertions, 0 deletions
diff --git a/shell/hush_test/hush-parsing/quote1.right b/shell/hush_test/hush-parsing/quote1.right
new file mode 100644
index 0000000..cb38205
--- /dev/null
+++ b/shell/hush_test/hush-parsing/quote1.right
@@ -0,0 +1 @@
+'1'
diff --git a/shell/hush_test/hush-parsing/quote1.tests b/shell/hush_test/hush-parsing/quote1.tests
new file mode 100755
index 0000000..f558954
--- /dev/null
+++ b/shell/hush_test/hush-parsing/quote1.tests
@@ -0,0 +1,2 @@
+a=1
+echo "'$a'"