summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-parsing
diff options
context:
space:
mode:
authorDenys Vlasenko2009-05-03 02:15:18 +0200
committerDenys Vlasenko2009-05-03 02:15:18 +0200
commite19e1935a33b117e2ee6daf9b2d79c00603333c7 (patch)
tree8154fc2bfedd1fccb7ed1c0b7b2fff2e57f36e4e /shell/hush_test/hush-parsing
parentb1cfc453760b3b3b81bb3217f68074a98c96084b (diff)
downloadbusybox-e19e1935a33b117e2ee6daf9b2d79c00603333c7.zip
busybox-e19e1935a33b117e2ee6daf9b2d79c00603333c7.tar.gz
hush: fix \<newline> handling
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-parsing')
-rw-r--r--shell/hush_test/hush-parsing/escape4.right2
-rwxr-xr-xshell/hush_test/hush-parsing/escape4.tests6
-rwxr-xr-x[-rw-r--r--]shell/hush_test/hush-parsing/group1.tests0
3 files changed, 8 insertions, 0 deletions
diff --git a/shell/hush_test/hush-parsing/escape4.right b/shell/hush_test/hush-parsing/escape4.right
new file mode 100644
index 0000000..5de3e0c
--- /dev/null
+++ b/shell/hush_test/hush-parsing/escape4.right
@@ -0,0 +1,2 @@
+Ok
+End
diff --git a/shell/hush_test/hush-parsing/escape4.tests b/shell/hush_test/hush-parsing/escape4.tests
new file mode 100755
index 0000000..df8bf0a
--- /dev/null
+++ b/shell/hush_test/hush-parsing/escape4.tests
@@ -0,0 +1,6 @@
+i\
+f tr\
+ue; th\
+en echo "O\
+k"; fi; echo "\
+End" \ No newline at end of file
diff --git a/shell/hush_test/hush-parsing/group1.tests b/shell/hush_test/hush-parsing/group1.tests
index f063fbc..f063fbc 100644..100755
--- a/shell/hush_test/hush-parsing/group1.tests
+++ b/shell/hush_test/hush-parsing/group1.tests