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