From 95732b497d12c98613bb3c5db16b61f377501a59 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Wed, 7 Dec 2005 14:08:12 +0000 Subject: Imported from ../bash-3.1.tar.gz. --- tests/func.tests | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/func.tests') diff --git a/tests/func.tests b/tests/func.tests index 2095f24..063f4e0 100644 --- a/tests/func.tests +++ b/tests/func.tests @@ -157,4 +157,12 @@ ${THIS_SH} ./func2.sub # test for some posix-specific function behavior ${THIS_SH} ./func3.sub +unset -f myfunction +myfunction() { + echo "bad shell function redirection" +} >> /dev/null + +myfunction +myfunction | cat + exit 0 -- cgit v1.2.3