repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Tomato 1.24
[tomato.git]
/
release
/
src
/
router
/
busybox
/
shell
/
hush_test
/
hush-vars
/
var_leaks.tests
blob
27c8c65041f6cdc0cbe35aa1c5d622e04adc379b
1
# external program
2
a=b /bin/true
3
env | grep ^a=
4
5
# builtin
6
a=b true
7
env | grep ^a=
8
9
# exec with redirection only
10
# in bash, this leaks!
11
a=b exec 1>&1
12
env | grep ^a=
13
14
echo OK