hush: fix NOMMU bug (analogous to preceding commit for MMU)

This commit is contained in:
Denis Vlasenko
2008-10-13 12:36:05 +00:00
parent d29084dd7d
commit f886fd2bc7
4 changed files with 108 additions and 84 deletions

View File

@ -1,4 +1,4 @@
a=a
a=a
a=a
a=b
a=b
a=b
OK

View File

@ -1,16 +1,16 @@
export a=a
export a=b
# external program
a=b /bin/true
a=c /bin/true
env | grep ^a=
# builtin
a=b true
a=d true
env | grep ^a=
# exec with redirection only
# in bash, this leaks!
a=b exec 1>&1
a=e exec 1>&1
env | grep ^a=
echo OK