aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-parsing
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-10 23:06:55 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-10 23:06:55 +0000
commite0a336747c2061d0d555c4e15287b513831d2947 (patch)
treed51595efe1d14bc4f236d70a5ce7fac0a47e99cc /shell/hush_test/hush-parsing
parent53079d494ef0c1fec481b062b3614c45e60eb057 (diff)
downloadbusybox-e0a336747c2061d0d555c4e15287b513831d2947.tar.gz
hush: fix "unterminated last line loops forever" bug
hush: add testsuite infrastructure
Diffstat (limited to 'shell/hush_test/hush-parsing')
-rw-r--r--shell/hush_test/hush-parsing/noeol.right1
-rw-r--r--shell/hush_test/hush-parsing/noeol.tests2
2 files changed, 3 insertions, 0 deletions
diff --git a/shell/hush_test/hush-parsing/noeol.right b/shell/hush_test/hush-parsing/noeol.right
new file mode 100644
index 000000000..e427984d4
--- /dev/null
+++ b/shell/hush_test/hush-parsing/noeol.right
@@ -0,0 +1 @@
+HELLO
diff --git a/shell/hush_test/hush-parsing/noeol.tests b/shell/hush_test/hush-parsing/noeol.tests
new file mode 100644
index 000000000..a93113a03
--- /dev/null
+++ b/shell/hush_test/hush-parsing/noeol.tests
@@ -0,0 +1,2 @@
+# next line has no EOL!
+echo HELLO \ No newline at end of file