Tomato 1.24
[tomato.git] / release / src / router / busybox / shell / hush_test / hush-vars / var_leaks.tests
blob27c8c65041f6cdc0cbe35aa1c5d622e04adc379b
1 # external program
2 a=b /bin/true
3 env | grep ^a=
5 # builtin
6 a=b true
7 env | grep ^a=
9 # exec with redirection only
10 # in bash, this leaks!
11 a=b exec 1>&1
12 env | grep ^a=
14 echo OK