From 1a7358612ff2dfdfc9fa461faa946c577666787f Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 23 May 2007 00:32:25 +0000 Subject: hush: fix a bit different instance of "No EOL" bug, add testsuite for that. Expand another testsuite. --- shell/hush_test/hush-parsing/noeol2.right | 1 + shell/hush_test/hush-parsing/noeol2.tests | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 shell/hush_test/hush-parsing/noeol2.right create mode 100755 shell/hush_test/hush-parsing/noeol2.tests (limited to 'shell/hush_test/hush-parsing') diff --git a/shell/hush_test/hush-parsing/noeol2.right b/shell/hush_test/hush-parsing/noeol2.right new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/shell/hush_test/hush-parsing/noeol2.right @@ -0,0 +1 @@ +1 diff --git a/shell/hush_test/hush-parsing/noeol2.tests b/shell/hush_test/hush-parsing/noeol2.tests new file mode 100755 index 000000000..1220f056f --- /dev/null +++ b/shell/hush_test/hush-parsing/noeol2.tests @@ -0,0 +1,7 @@ +# last line has no EOL! +if true +then + echo 1 +else + echo 2 +fi \ No newline at end of file -- cgit v1.2.3