Lines Matching refs:foo
37 z.foo=( [one]=hello [two]=(x=3 y=4) [three]=hi)
66 z.foo[three]=good
67 [[ ${z.foo[three]} == good ]] || err_exit 'associative array assignment in subshell not working'
73 z.foo[two]=ok
74 …[[ ${z.foo[two]} == ok ]] || err_exit 'associative array assignment to compound variable in subshe…
81 foo=( qqq=abc rrr=def)
86 unset x.foo
87 [[ ${x.foo.qqq} ]] && err_exit 'x.foo.qqq should be unset'
88 x.foo=good
89 [[ ${x.foo} == good ]] || err_exit 'x.foo should be good'
96 [[ ${l+foo} != foo ]] || err_exit 'l should be unset'
228 foo=$($SHELL <<- ++EOF++
229 (trap 'print bar' EXIT;print -n foo)
232 [[ $foo == foobar ]] || err_exit 'trap on exit when last commands is subshell is not triggered'
237 function foo function
248 do y=$(foo)