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 ]]
174 if [[ $(abc: for i in foo bar;do print $i;break abc;done) != foo ]]
283 if [[ $( printf 'foo://ab_c%(url)q\n' $'<>"& \'\tabc') != 'foo://ab_c%3C%3E%22%26%20%27%09abc' ]]
354 if [[ $(foo=bar; eval foo=\$foo $env exec -c \$SHELL -c \'print \$foo\') != bar ]]
409 optarg=foo
419 [[ $($SHELL 2> /dev/null -c 'readonly foo; getopts a: foo -a blah; echo foo') == foo ]] || err_exit 'getopts with readonly variable causes script to abort'
540 [[ $($SHELL -c 'trap foo TERM; (trap;(trap) )') == 'trap -- foo TERM' ]] || err_exit 'traps not getting reset when subshell is last process'
582 mkdir $tmp/tmpdir2/foo
584 cd $tmp/tmpdir2/foo
636 read baz <<< 'foo\\\\bar'
637 [[ $baz == 'foo\\bar' ]] || err_exit 'read of foo\\\\bar not getting foo\\bar'