upload tizen1.0 source
[external/busybox.git] / util-linux / shell / hush_test / hush-vars / var_leaks.tests
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