From d40fa397e45b35b62d1967a88036e06b4c061abe Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 20 Apr 2009 10:52:31 +0000 Subject: hush: add two testcases --- shell/hush_test/hush-misc/func_args1.tests | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 shell/hush_test/hush-misc/func_args1.tests (limited to 'shell/hush_test/hush-misc/func_args1.tests') diff --git a/shell/hush_test/hush-misc/func_args1.tests b/shell/hush_test/hush-misc/func_args1.tests new file mode 100755 index 000000000..157921fb1 --- /dev/null +++ b/shell/hush_test/hush-misc/func_args1.tests @@ -0,0 +1,10 @@ +# UNFIXED BUG + +f() { echo "'f $1 $2 $3' called"; } + +set -- a b c +echo "params: $1 $2 $3" +f 1 2 3 +echo "params: $1 $2 $3" +true | f 1 2 3 +echo "params: $1 $2 $3" -- cgit v1.2.3