summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-parsing
diff options
context:
space:
mode:
authorDenys Vlasenko2018-04-11 20:00:43 +0200
committerDenys Vlasenko2018-04-11 20:00:43 +0200
commitf693b606b732437bb1265c2ec883d93127f3f38e (patch)
tree921ed6a5ada75f8d608f139eecd211f0f5869eb9 /shell/ash_test/ash-parsing
parent44257ad5d0790a846423c9ef69a50049366b4578 (diff)
downloadbusybox-f693b606b732437bb1265c2ec883d93127f3f38e.zip
busybox-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/ash_test/ash-parsing')
-rw-r--r--shell/ash_test/ash-parsing/bkslash_newline3.right1
-rwxr-xr-xshell/ash_test/ash-parsing/bkslash_newline3.tests4
2 files changed, 5 insertions, 0 deletions
diff --git a/shell/ash_test/ash-parsing/bkslash_newline3.right b/shell/ash_test/ash-parsing/bkslash_newline3.right
new file mode 100644
index 0000000..e635074
--- /dev/null
+++ b/shell/ash_test/ash-parsing/bkslash_newline3.right
@@ -0,0 +1 @@
+a:[a]
diff --git a/shell/ash_test/ash-parsing/bkslash_newline3.tests b/shell/ash_test/ash-parsing/bkslash_newline3.tests
new file mode 100755
index 0000000..2accd43
--- /dev/null
+++ b/shell/ash_test/ash-parsing/bkslash_newline3.tests
@@ -0,0 +1,4 @@
+for s in \
+a; do
+ echo "a:[$s]"
+done