summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test/hush-parsing
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-23 15:22:50 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-23 15:22:50 +0000
commit90e485ce79b8a0cd345bc5be76100291ec589579 (patch)
treeb994e960b598f802820ddd5cf712678903c404de /shell/hush_test/hush-parsing
parent1744cb18610aece474ba080f43aa5dc89177388e (diff)
hush: make syntax error messages a bit more useful
Diffstat (limited to 'shell/hush_test/hush-parsing')
-rw-r--r--shell/hush_test/hush-parsing/noeol3.right1
-rwxr-xr-xshell/hush_test/hush-parsing/noeol3.tests2
2 files changed, 3 insertions, 0 deletions
diff --git a/shell/hush_test/hush-parsing/noeol3.right b/shell/hush_test/hush-parsing/noeol3.right
new file mode 100644
index 000000000..56f8515b7
--- /dev/null
+++ b/shell/hush_test/hush-parsing/noeol3.right
@@ -0,0 +1 @@
+hush: syntax error: unterminated "
diff --git a/shell/hush_test/hush-parsing/noeol3.tests b/shell/hush_test/hush-parsing/noeol3.tests
new file mode 100755
index 000000000..ec958ed7a
--- /dev/null
+++ b/shell/hush_test/hush-parsing/noeol3.tests
@@ -0,0 +1,2 @@
+# last line has no EOL!
+echo "unterminated \ No newline at end of file