Lines Matching refs:foobar
39 cat > dir1/foobar << '+++'
40 foobar() { print foobar1;}
43 cat > dir2/foobar << '+++'
44 foobar() { print foobar2;}
47 chmod +x dir[12]/foobar
51 [[ $( foobar) == foobar1 ]] || err_exit 'foobar should output foobar1'
54 [[ $(foobar) == foobar2 ]] || err_exit 'foobar should output foobar2'
57 [[ $(foobar) == foobar1 ]] || err_exit 'foobar should output foobar1 again'
60 [[ ${ foobar;} == foobar2 ]] || err_exit 'foobar should output foobar2 with ${}'
65 [[ ${ foobar;} == foobar1 ]] || err_exit 'foobar should output foobar1 with ${}'
70 [[ ${ foobar;} == foobar2 ]] || err_exit 'foobar should output foobar2 with ${} again'