From 00ae989ee5b57593362405288b5e977551cafb0b Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 31 May 2011 17:35:45 +0200 Subject: hush: fix a corner case of empty "do \n done" structure The structure is: while cmd; do done bash doesn't accept it at all. We were accepting it but execution was buggy. Signed-off-by: Denys Vlasenko --- shell/hush_test/hush-misc/while3.right | 1 + 1 file changed, 1 insertion(+) create mode 100644 shell/hush_test/hush-misc/while3.right (limited to 'shell/hush_test/hush-misc/while3.right') diff --git a/shell/hush_test/hush-misc/while3.right b/shell/hush_test/hush-misc/while3.right new file mode 100644 index 000000000..7c4d7beb0 --- /dev/null +++ b/shell/hush_test/hush-misc/while3.right @@ -0,0 +1 @@ +OK:0 -- cgit v1.2.3