projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported from ../bash-3.1.tar.gz.
[platform/upstream/bash.git]
/
tests
/
func.tests
diff --git
a/tests/func.tests
b/tests/func.tests
index
2095f24
..
063f4e0
100644
(file)
--- 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