small changes to some error messages; greatly expanded builtins tests

This commit is contained in:
Chet Ramey
2023-09-28 10:47:17 -04:00
parent b3958b3ab4
commit 00edd0ee50
71 changed files with 1330 additions and 179 deletions
+9
View File
@@ -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