diff options
author | Denys Vlasenko | 2010-09-10 10:19:22 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-09-10 10:19:22 +0200 |
commit | cc461736d6ca3c3b809390d8d7873a136e3b899a (patch) | |
tree | 4e86544756152ffa279ac6d029c083c0a22291b9 /shell/hush_test/hush-bugs/export_exp.tests.disabled | |
parent | ebee410fe2500d6bd5980032d0b183494f509c9b (diff) | |
download | busybox-cc461736d6ca3c3b809390d8d7873a136e3b899a.zip busybox-cc461736d6ca3c3b809390d8d7873a136e3b899a.tar.gz |
hush: fixes to testsuite
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'shell/hush_test/hush-bugs/export_exp.tests.disabled')
-rw-r--r-- | shell/hush_test/hush-bugs/export_exp.tests.disabled | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/shell/hush_test/hush-bugs/export_exp.tests.disabled b/shell/hush_test/hush-bugs/export_exp.tests.disabled new file mode 100644 index 0000000..0913fd3 --- /dev/null +++ b/shell/hush_test/hush-bugs/export_exp.tests.disabled @@ -0,0 +1,22 @@ +# This test shows a very special handling of export and local +# builtins by bash. + +v="a=aa0 b=bb0" +# only 1st arg should be expanded in multiple words +export $v c=$v +echo $a $b +echo $c + +# only 1st arg should be expanded in multiple words +export `echo a=aa1 b=bb1` c=`echo a=aa1 b=bb1` +echo $a $b +echo $c + +>zz=zz +>zzz=zzz +# only 1st arg should be globbed +export zzz* zz=* +env | grep ^zz | sort +rm -rf zz=zz zzz=zzz + +echo Done |