hush: fix a bug in argv restoration after sourcing a file
[oweals/busybox.git] / shell / hush_test / hush-misc / func_args1.tests
1 f() { echo "'f $1 $2 $3' called"; }
2
3 set -- a b c
4 echo "params: $1 $2 $3"
5 f 1 2 3
6 echo "params: $1 $2 $3"
7 true | f 1 2 3
8 echo "params: $1 $2 $3"