Lines Matching defs:local
202 [[ $(selfref ps) == *a=1* ]] || err_exit 'local nameref cannot reference global variable of the same name'
208 [[ $(subref ps) == 1 ]] || err_exit 'local nameref cannot reference global variable child'
210 function local
213 [[ $(subref ps) == 3 ]] || err_exit 'local nameref cannot reference caller compound variable'
215 local
216 unset -f local
217 function local
221 local 2> /dev/null || err_exit 'function local has non-zero exit status'
257 ) == *foo=hello* ]] || err_exit 'unable to display compound variable from name reference of local variable'