From e0a336747c2061d0d555c4e15287b513831d2947 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 10 May 2007 23:06:55 +0000 Subject: hush: fix "unterminated last line loops forever" bug hush: add testsuite infrastructure --- shell/hush_test/hush-parsing/noeol.right | 1 + shell/hush_test/hush-parsing/noeol.tests | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 shell/hush_test/hush-parsing/noeol.right create mode 100644 shell/hush_test/hush-parsing/noeol.tests (limited to 'shell/hush_test/hush-parsing') diff --git a/shell/hush_test/hush-parsing/noeol.right b/shell/hush_test/hush-parsing/noeol.right new file mode 100644 index 0000000..e427984 --- /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 0000000..a93113a --- /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 -- cgit v1.1