Lines Matching refs:dev
104 typeset +n foo bar 2> /dev/null
122 } 2> /dev/null && err_exit "self reference not detected"
138 foobar 2> /dev/null || err_exit 'nameref not unsetting previous reference'
145 ) 2> /dev/null|| err_exit 'nameref short to longname compound assignment error'
221 local 2> /dev/null || err_exit 'function local has non-zero exit status'
241 $SHELL -c 'function bar { nameref x=foo[++];};typeset -A foo;bar' 2> /dev/null ||err_exit 'nameref of associative array tries to evaluate subscript'
242 i=$($SHELL -c 'nameref foo=bar; bar[2]=(x=3 y=4); nameref x=foo[2].y;print -r -- $x' 2> /dev/null)
244 [[ $($SHELL 2> /dev/null <<- '+++EOF'
260 do [[ $($SHELL 2> /dev/null <<- ++EOF++
293 foo=1 bar=2;a) == $'1\n2' ]] 2> /dev/null || err_exit 'nameref in pipeline broken'
326 foobar 2> /dev/null && err_exit 'invalid reference should cause foobar to fail'
337 [[ $(foobar) == ok ]] 2> /dev/null || err_exit 'nameref in function not creating variable in proper scope'
358 command typeset -n n=v.${k//['./']/_} 2> /dev/null || err_exit 'patterns with quotes not handled correctly with name reference assignment'