From 29f9b7268a820505c2d9386f3271b9365dcf7e23 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 14 May 2011 11:27:36 +0200 Subject: hush: fix misparsing of "... do eval a= ...". Closes 3721 Signed-off-by: Denys Vlasenko --- shell/hush_test/hush-misc/assignment4.tests | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 shell/hush_test/hush-misc/assignment4.tests (limited to 'shell/hush_test/hush-misc/assignment4.tests') diff --git a/shell/hush_test/hush-misc/assignment4.tests b/shell/hush_test/hush-misc/assignment4.tests new file mode 100755 index 000000000..6f46d0a33 --- /dev/null +++ b/shell/hush_test/hush-misc/assignment4.tests @@ -0,0 +1,3 @@ +# There was a bug where we misinterpreted assignments after 'do': +for i in 1; do eval b=; done +echo Done:$? -- cgit v1.2.3