source: MondoRescue/branches/2.2.9/mindi-busybox/shell/hush_test/hush-bugs/export_exp.tests.disabled@ 2725

Last change on this file since 2725 was 2725, checked in by Bruno Cornec, 13 years ago
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
File size: 425 bytes
Line 
1# This test shows a very special handling of export and local
2# builtins by bash.
3
4v="a=aa0 b=bb0"
5# only 1st arg should be expanded in multiple words
6export $v c=$v
7echo $a $b
8echo $c
9
10# only 1st arg should be expanded in multiple words
11export `echo a=aa1 b=bb1` c=`echo a=aa1 b=bb1`
12echo $a $b
13echo $c
14
15>zz=zz
16>zzz=zzz
17# only 1st arg should be globbed
18export zzz* zz=*
19env | grep ^zz | sort
20rm -rf zz=zz zzz=zzz
21
22echo Done
Note: See TracBrowser for help on using the repository browser.