Searched defs:foobar (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dheredoc.sh181 foobar() function
184 foobar
207 print -r -- "$(foobar)"
209 if [[ $($SHELL "$f") != foobar ]]
H A Dsubshell.sh232 [[ $foo == foobar ]] || err_exit 'trap on exit when last commands is subshell is not triggered'
260 function foobar function
271 function foobar function
H A Darith.sh279 function foobar function
286 if [[ $(foobar y) != 5 ]]
H A Dbuiltins.sh38 set -- - foobar
39 [[ $# = 2 && $1 = - && $2 = foobar ]] || err_exit "set -- - foobar failed"
40 set -- -x foobar
41 [[ $# = 2 && $1 = -x && $2 = foobar ]] || err_exit "set -- -x foobar failed"
43 [[ $foo = x && $OPTARG = foobar ]] || err_exit "getopts :x: failed"
249 #FIXME#($SHELL read -s foobar <<\!
265 unset -f foobar
266 function foobar function
[all...]
H A Dpath.sh39 cat > dir1/foobar << '+++'
40 foobar() { print foobar1;} function
43 cat > dir2/foobar << '+++'
44 foobar() { print foobar2;} function
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)
[all...]
H A Dcomvar.sh204 point.z=foobar
208 [[ $(staticvar x) == $'(\n\ttypeset -i x=3\n\ttypeset -i y=5\n\tz=foobar\n)' ]] || err_exit 'static variables in function not working'
328 function foobar function
H A Dnameref.sh133 function foobar function
138 foobar 2> /dev/null || err_exit 'nameref not unsetting previous reference'
320 function foobar function
326 foobar 2> /dev/null && err_exit 'invalid reference should cause foobar to fail'
330 function foobar function
337 [[ $(foobar) == ok ]] 2> /dev/null || err_exit 'nameref in function not creating variable in proper scope'
338 function foobar function
346 foobar
H A Dfunctions.sh39 function foobar function
60 if [[ $(foobar 1) != '33 bye' ]]
64 if [[ $(foobar 2) != 'foobar' ]]
68 if [[ $(bar=foo foobar 1) != '33 foo' ]]
75 if [[ $(foobar 3) != 'foo 10' ]]
79 foobar 4
83 unset -f foobar || err_exit "cannot unset function foobar"
84 typeset -f foobar>/de
86 function foobar function
169 foobar() function
214 function foobar function
226 function foobar function
438 function foobar function
1034 function foobar function
[all...]

Completed in 60 milliseconds