aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-04-11 20:00:43 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-04-11 20:00:43 +0200
commitf693b606b732437bb1265c2ec883d93127f3f38e (patch)
tree921ed6a5ada75f8d608f139eecd211f0f5869eb9 /shell/hush_test
parent44257ad5d0790a846423c9ef69a50049366b4578 (diff)
downloadbusybox-f693b606b732437bb1265c2ec883d93127f3f38e.tar.gz
hush: fix recent breakage from parse_stream() changes
function old new delta parse_stream 3808 3821 +13 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test')
-rw-r--r--shell/hush_test/hush-parsing/bkslash_newline3.right1
-rwxr-xr-xshell/hush_test/hush-parsing/bkslash_newline3.tests4
2 files changed, 5 insertions, 0 deletions
diff --git a/shell/hush_test/hush-parsing/bkslash_newline3.right b/shell/hush_test/hush-parsing/bkslash_newline3.right
new file mode 100644
index 000000000..e635074e5
--- /dev/null
+++ b/shell/hush_test/hush-parsing/bkslash_newline3.right
@@ -0,0 +1 @@
+a:[a]
diff --git a/shell/hush_test/hush-parsing/bkslash_newline3.tests b/shell/hush_test/hush-parsing/bkslash_newline3.tests
new file mode 100755
index 000000000..2accd4395
--- /dev/null
+++ b/shell/hush_test/hush-parsing/bkslash_newline3.tests
@@ -0,0 +1,4 @@
+for s in \
+a; do
+ echo "a:[$s]"
+done