/titanic_51/usr/src/lib/libshell/common/tests/ |
H A D | functions.sh | 39 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>/dev/null && err_exit "typeset -f has incorrect exit status" 86 function foobar function 92 foobar [all …]
|
H A D | basic.sh | 64 ( umask 0777; > foobar ) 65 rm -f foobar 66 > foobar 67 [[ -r foobar ]] || err_exit 'umask not being restored after subshell' 69 rm -f foobar 71 > foobar 73 do print foobar* 74 rm -f foobar 79 rm -f out foobar 142 foobar [all …]
|
H A D | path.sh | 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 ${}' [all …]
|
H A D | variables.sh | 80 foobar 82 if [[ $REPLY != foobar ]] 152 set foobar 418 unset foobar 419 if [[ $( (print ${foobar:?}) 2>&1) != *foobar* ]] 521 .sh.foobar=hello 523 function .sh.foobar.get 528 [[ ${.sh.foobar} == world ]] || err_exit 'get discipline for .sh.foobar not working'
|
H A D | heredoc.sh | 181 foobar() 184 foobar 209 if [[ $($SHELL "$f") != foobar ]]
|
H A D | builtins.sh | 38 set -- - foobar 40 set -- -x foobar 43 [[ $foo = x && $OPTARG = foobar ]] || err_exit "getopts :x: failed" 265 unset -f foobar 266 function foobar function
|
H A D | nameref.sh | 133 function foobar function 138 foobar 2> /dev/null || err_exit 'nameref not unsetting previous reference' 326 foobar 2> /dev/null && err_exit 'invalid reference should cause foobar to fail'
|
H A D | types.sh | 37 typeset name=foobar 187 typeset x=foobar 193 [[ "$var" == *x=foobar* ]] || err_exit '$var does not contain x=foobar'
|
H A D | grep.sh | 96 A line containing foobar should also be counted.
|
H A D | comvar.sh | 204 point.z=foobar 328 function foobar function
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | functions.sh | 42 function foobar function 63 if [[ $(foobar 1) != '33 bye' ]] 67 if [[ $(foobar 2) != 'foobar' ]] 71 if [[ $(bar=foo foobar 1) != '33 foo' ]] 78 if [[ $(foobar 3) != 'foo 10' ]] 82 foobar 4 86 unset -f foobar || err_exit "cannot unset function foobar" 87 typeset -f foobar>/de 89 function foobar global() function 172 foobar() global() function 217 function foobar global() function 229 function foobar global() function 441 function foobar global() function 1037 function foobar global() function [all...] |
H A D | basic.sh | 64 ( umask 0777; > foobar ) 65 rm -f foobar 66 > foobar 67 [[ -r foobar ]] || err_exit 'umask not being restored after subshell' 69 rm -f foobar 71 > foobar 73 do print foobar* 74 rm -f foobar 76 if [[ "$(<out)" != "foobar"$'\n'"foobar*" ]] [all...] |
H A D | path.sh | 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) [all...] |
H A D | io.sh | 462 tmp=$tmp $SHELL 2> /dev/null -c 'exec 3<&1 ; exec 1<&- ; exec > $tmp/outfile;print foobar' || err_exit 'exec 1<&- causes failure' 463 [[ $(<$tmp/outfile) == foobar ]] || err_exit 'outfile does not contain foobar' 465 print hello there world > $tmp/foobar 466 sed -e 's/there //' $tmp/foobar >; $tmp/foobar 467 [[ $(<$tmp/foobar) == 'hello world' ]] || err_exit '>; redirection not working on simple command' 468 print hello there world > $tmp/foobar 469 { sed -e 's/there //' $tmp/foobar;print done;} >; $tmp/foobar [all...] |
H A D | heredoc.sh | 181 foobar() 184 foobar 207 print -r -- "$(foobar)" 209 if [[ $($SHELL "$f") != foobar ]] 266 function foobar 273 \$(foobar) 494 [[ $(grep meep $g | grep -v foobar) != '' ]] && err_exit 'here-doc loosing $var expansions on boundaries in rare cases'
|
H A D | variables.sh | 55 #rm -f foobar# 57 #2> /dev/null < foobar# 80 foobar 82 if [[ $REPLY != foobar ]] 152 set foobar 153 if [[ ${@:0} != "$x foobar" ]] 418 unset foobar 419 if [[ $( (print ${foobar:?}) 2>&1) != *foobar* ]] 420 then err_exit 'incorrect error message with ${foobar [all...] |
H A D | sigchld.sh | 155 print 'set -o monitor;sleep .5 & sleep 1;jobs' > $tmp/foobar 156 chmod +x $tmp/foobar 157 x=$($SHELL -c "echo | $tmp/foobar")
|
H A D | types.sh | 37 typeset name=foobar 187 typeset x=foobar 193 [[ "$var" == *x=foobar* ]] || err_exit '$var does not contain x=foobar' 395 : ${foo.s[a]:=foobar} 396 : ${bar.s[d]:=foobar} 397 [[ ${bar.s[a]} == foobar ]] && err_exit '${var:=val} for types assigns to type instead of type instance'
|
H A D | subshell.sh | 233 [[ $foo == foobar ]] || err_exit 'trap on exit when last commands is subshell is not triggered' 261 function foobar function 272 function foobar function 477 (.sh.foo=foobar) 478 [[ ${.sh.foo} == foobar ]] && err_exit '.sh subvariables in subshells remain set' 528 print -u2 foobar 601 [[ $( { trap "echo foobar" EXIT; ( $printf ""); } & wait) == foobar ]] || err_exit 'exit trap not being invoked'
|
H A D | builtins.sh | 38 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" 252 #FIXME#($SHELL read -s foobar <<\! 268 unset -f foobar 269 function foobar function [all...] |
H A D | nameref.sh | 133 function foobar function 138 foobar 2> /dev/null || err_exit 'nameref not unsetting previous reference' 327 function foobar function 333 foobar 2> /dev/null && err_exit 'invalid reference should cause foobar to fail' 337 function foobar function 344 [[ $(foobar) == ok ]] 2> /dev/null || err_exit 'nameref in function not creating variable in proper scope' 345 function foobar function 353 foobar 526 node.elements[/]=(filepath=foobar) [all...] |
H A D | grep.sh | 96 A line containing foobar should also be counted.
|
H A D | signal.sh | 370 foobar() function 376 foobar
|
/titanic_51/usr/src/cmd/dtrace/test/tst/common/include/ |
H A D | tst.includefirst.ksh | 46 inline int foobar = $expexit; 47 #pragma D binding "1.0" foobar 50 inline int foobar = 42; 51 #pragma D binding "1.0" foobar 70 dtrace -L$firstinc -L$secondinc -e -n 'BEGIN{ exit(foobar) }' 72 dtrace -L$firstinc -L$secondinc -n 'BEGIN{ exit(foobar) }'
|
/titanic_51/usr/src/cmd/krb5/krb5kdc/ |
H A D | kdc_util.h | 196 #define process_v4(foo,bar,quux,foobar) KRB5KRB_AP_ERR_BADVERSION argument
|