Lines Matching refs:associative
186 then err_exit 'initial value not preserved when typecast to associative'
193 then err_exit 'conversion of indexed to associative array failed'
276 err_exit 'exporting associative array not exporting 0-th element'
283 [[ $foo == 0 ]] || err_exit 'zero element of associative array not being set'
304 [[ ${x[two]} == 2 ]] || err_exit 'associative array produce side effects in subshells'
309 [[ ${#x[@]} == 4 ]] || err_exit 'associative array append in subshell error'
311 [[ ${#x[@]} == 3 ]] || err_exit 'associative array append in subshell effects parent'
318 [[ $( ($SHELL -c 'typeset -A var; (IFS=: ; set -A var a:b:c ;print ${var[@]});:' )2>/dev/null) == 'a b c' ]] || err_exit 'change associative to index failed'
327 ) 2> /dev/null && err_exit 'set +A with associative array should be an error'
333 [[ $bam == value ]] && err_exit 'unset associative array element error'
353 [[ $($SHELL -c "typeset -A foo;$tmp/script") == foo ]] 2> /dev/null || err_exit 'empty associative arrays not being cleared correctly before scripts'
354 [[ $($SHELL -c "typeset -A foo;foo[abc]=abc;$tmp/script") == foo ]] 2> /dev/null || err_exit 'associative arrays not being cleared correctly before scripts'
375 [[ $(typeset | grep foo$) == *associative* ]] || err_exit 'array lost associative attribute'
453 [[ ${@x.foo} == 'typeset -A'* ]] || err_exit 'x.foo is not an associative array'
499 [[ $z == sub=1 ]] || err_exit 'get function not invoked for associative array'