commit bash-20141003 snapshot

This commit is contained in:
Chet Ramey committed 2014-10-09 20:25:14 -04:00
1 parent 30595b57d9
commit 613d4ba419
30 files changed
+6247 -29

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
# test function names that cannot be exported
unset foo # remove from environment if necessary
function foo=bar
{
echo equals-1
}
export -f 'foo=bar'
echo status: $?
foo\=bar
printenv | grep 'foo=bar'
${THIS_SH} -c 'foo\=bar'
function /bin/echo
{
echo bad echo
}
/bin/echo foo
export -f '/bin/echo'
${THIS_SH} -c '/bin/echo bar'