Lines Matching refs:foo
36 : ${foo=bar} || err_exit ": failed"
37 [[ $foo = bar ]] || err_exit ": side effects failed"
42 getopts :x: foo || err_exit "getopts :x: returns false"
43 [[ $foo = x && $OPTARG = foobar ]] || err_exit "getopts :x: failed"
73 false ${foo=bar} && err_exit "false failed"
143 if [[ $( for i in foo bar
147 ) != $'foo\nbar' ]]
157 do if [[ $( for i in foo
161 ) != foo ]]
171 if [[ $(abc: for i in foo bar;do print $i;break abc;done) != foo ]]
342 if [[ $(foo=bar; eval foo=\$foo $env exec -c \$SHELL -c \'print \$foo\') != bar ]]
397 optarg=foo
526 [[ $($SHELL -c 'trap foo TERM; (trap;(trap) )') == 'trap -- foo TERM' ]] || err_exit 'traps not getting reset when subshell is last process'