Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
6528abeb6af88f40924c85e8cf05dad1d3ab88a5
/
.
/
shell
/
hush_test
/
hush-vars
/
var_preserved.tests
blob: 1bddd870fd3dd58e1cdec4a37f95799e0408ea23 [
file
] [
log
] [
blame
]
export
a
=
b
# external program
a
=
c
/
bin
/
true
env
|
grep
^
a
=
# builtin
a
=
d
true
env
|
grep
^
a
=
# exec with redirection only
# in bash, this leaks!
a
=
e
exec
1
>&
1
env
|
grep
^
a
=
echo OK