diff options
author | Denys Vlasenko | 2011-05-14 11:27:36 +0200 |
---|---|---|
committer | Denys Vlasenko | 2011-05-14 11:27:36 +0200 |
commit | 29f9b7268a820505c2d9386f3271b9365dcf7e23 (patch) | |
tree | 29048a9475c582cee3cbf1f4dde08629b5940466 /shell/hush_test/hush-misc/assignment4.tests | |
parent | eafc558f94f75dc6132a374a15050e9d0c5c48f1 (diff) | |
download | busybox-29f9b7268a820505c2d9386f3271b9365dcf7e23.zip busybox-29f9b7268a820505c2d9386f3271b9365dcf7e23.tar.gz |
hush: fix misparsing of "... do eval a= ...". Closes 3721
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-misc/assignment4.tests')
-rwxr-xr-x | shell/hush_test/hush-misc/assignment4.tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/assignment4.tests b/shell/hush_test/hush-misc/assignment4.tests new file mode 100755 index 0000000..6f46d0a --- /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:$? |