source: MondoRescue/branches/2.2.9/mindi-busybox/shell/hush_test/hush-vars/var_preserved.tests@ 3320

Last change on this file since 3320 was 3320, checked in by Bruno Cornec, 9 years ago
  • Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in the move to 3.0
  • Property svn:executable set to *
File size: 186 bytes
Line 
1export a=b
2
3# external program
4a=c /bin/true
5env | grep ^a=
6
7# builtin
8a=d true
9env | grep ^a=
10
11# exec with redirection only
12# in bash, this leaks!
13a=e exec 1>&1
14env | grep ^a=
15
16echo OK
Note: See TracBrowser for help on using the repository browser.