mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 20:50:42 +02:00
small changes to some error messages; greatly expanded builtins tests
This commit is contained in:
@@ -91,6 +91,15 @@ read << EOC
|
||||
Dir: ${BUILDDIR#<(echo a)/}
|
||||
EOC
|
||||
|
||||
# return in a comsub inside a shell function should abort the comsub
|
||||
func()
|
||||
{
|
||||
local v
|
||||
v=$( echo comsub ; return ; echo after)
|
||||
echo $FUNCNAME: v = $v
|
||||
}
|
||||
func
|
||||
|
||||
${THIS_SH} ./comsub1.sub
|
||||
${THIS_SH} ./comsub2.sub
|
||||
${THIS_SH} ./comsub3.sub
|
||||
|
||||
Reference in New Issue
Block a user