Lines Matching refs:null
88 $SHELL -c $'x=(foo=bar)\n[[ x == x ]]' 2> /dev/null ||
194 [[ $($SHELL -c 'foo=();foo.[x]=(y z); print ${foo.x[@]}') == 'y z' ]] 2> /dev/null || err_exit 'foo=( [x]=(y z) not working'
210 ( typeset -S x=+++)2> /dev/null || err_exit "typeset -S doesn't unset first"
213 ( [[ ${z.foo.bar:-abc} == abc ]] 2> /dev/null) || err_exit ':- not working with compound variables'
234 { b=( b1=${a.b} ) ;} 2> /dev/null
254 { print ${.sh.name}=${.sh.value}; }' > /dev/null
269 [[ $({ $SHELL -c 'x=(); typeset -a x.foo; x.foo=bar; print -r -- "$x"' ;} 2> /dev/null) == $'(\n\ttypeset -a foo=bar\n)' ]] || err_exit 'indexed array in compound variable with only element 0 defined fails'
317 y=$(set | grep ^x=) 2> /dev/null
429 [[ $($SHELL -c 'foo=(x=3 y=4);function bar { typeset z=4;: $z;};bar;print ${!foo.@}') == 'foo.x foo.y' ]] 2> /dev/null || err_exit '${!foo.@} after function not working'
437 foo 2> /dev/null <<- \EOF || err_exit 'deleting compound variable in function failed'