hush: tighten up "for" variable name check.
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 10 Apr 2009 12:03:20 +0000 (12:03 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 10 Apr 2009 12:03:20 +0000 (12:03 -0000)
commit1fd1ea4395e520694bd9f8b1dc9e60af6442946d
treeffe931a1e9254789ac119321f88b17767176c73c
parent551bdfecb7cfb4df0f127d34884e0a9502324acd
hush: tighten up "for" variable name check.
 Add TODOs.
 Disable redir4.right part where we differ from bash.
 It is not a bug per standards.
 Add a few tests, one is in hush-bugs section:
 and_or_and_backgrounding.right. It will likely bite users
 in real world usage.
shell/hush.c
shell/hush_test/hush-bugs/and_or_and_backgrounding.right [new file with mode: 0644]
shell/hush_test/hush-bugs/and_or_and_backgrounding.tests [new file with mode: 0755]
shell/hush_test/hush-misc/for_with_bslashes.right [new file with mode: 0644]
shell/hush_test/hush-misc/for_with_bslashes.tests [new file with mode: 0755]
shell/hush_test/hush-misc/redir1.tests
shell/hush_test/hush-misc/redir4.right
shell/hush_test/hush-misc/redir4.tests
shell/hush_test/hush-vars/param_subshell.tests