Home
last modified time | relevance | path

Searched refs:got (Results 1 – 25 of 127) sorted by relevance

123456

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dlocale.sh120 got=$*
121 [[ $got == $exp ]] || err_exit "command wc LC_ALL default failed -- expected '$exp', got '$got'"
134 got=$*
182 [[ $got == $exp ]] || err_exit "${T} sequence failed -- expected '$exp', got '$got'"
202 got="$(<out)"
203 [[ $got == "$exp" ]] || err_exit "LC_ALL test script failed -- expected '$exp', got '$got'"
247 got=
253 got+=${msg[$line]}
255 [[ $got == $exp ]] || err_exit "'$tst' failed -- expected '$exp', got '$got'"
272 [[ $got == "$exp" || $got == "$alt" ]] || {
[all …]
H A Dpath.sh183 [[ $got == $exp ]] || err_exit "whence ./$cmd failed -- expected '$exp', got '$got'"
185 [[ $got == $exp ]] || err_exit "whence \$PWD/$cmd failed -- expected '$exp', got '$got'"
193 got=$($cmd 2>&1)
195 got=$($cmd 2>&1; :)
198 got=$(whence ./$cmd)
201 got=$(whence $PWD/$cmd)
205 got=$(whence ./notfound)
206 [[ $got == $exp ]] || err_exit "whence ./$cmd failed -- expected '$exp', got '$got'"
207 got=$(whence $PWD/notfound)
208 [[ $got == $exp ]] || err_exit "whence \$PWD/$cmd failed -- expected '$exp', got '$got'"
[all …]
H A Dcubetype.sh57 exp=3 got=${b.x}
59 exp=5 got=$(( b.len ))
61 exp=5 got=${b.len}
63 exp=box1 got=${b.name}
65 exp=2 got=$(( b.count ))
67 exp=2 got=${b.count}
71 exp=3 got=${#b.colors[@]}
76 exp=3 got=${#b.items[@]}
80 exp=4 got=${#b.colors[@]}
86 exp=2 got=${#b.items[@]}
[all …]
H A Dcoprocess.sh118 got=$REPLY
119 if [[ $got != $exp ]]
259 got=$(print -r $'#00315
277 then read -p got
278 else got='no coprocess'
288 then read -p got
304 then read -p got
305 else got=$exp
318 then read -p got
319 else got=$exp
[all …]
H A Dsubshell.sh268 got=$?
271 got=$($SHELL -c $'
391 got=$(<$tmp/out)
393 then got=HUNG
399 if [[ $got != $exp ]]
432 got=$(<$tmp/out)
436 then got=HUNG
438 if [[ $got != $exp ]]
455 got=$(env | grep ^HOME=)
465 got=$($SHELL -c "$cmd")
[all …]
H A Dio.sh83 then read -u3 got
84 read -u4 got
86 case $got in
95 got=$(
104 case $got in
347 got=$a
350 got=$b
361 got=$a
364 got=$b
441 got=$(< $file)
[all …]
H A Doptions.sh63 got=$($SHELL -E -c : 2>/dev/null)
66 got=$(printf %q "$got")
70 if [[ $got != *nonstandard* || $got == *$'\n'* ]]
72 got=$(printf %q "$got")
405 got=$(
440 got=${got##*"$PS1"}
443 got=${got##*"$PS1"}
473 eval got="$cmd"
474 got=${got##*': '}
475 got=${got%%'('*}
[all …]
H A Dsigchld.sh71 got=$($SHELL -c '
85 [[ $got == $exp ]] || err_exit "SIGCHLD trap queueing failed -- expected '$exp', got '$got'"
87 got=$($SHELL -c '
109 …[[ $got == $exp ]] || err_exit "SIGCHLD trap queueing failed -- expected $(printf %q "$exp"), got …
114 got=$( ( sleep 1;print $'\n') | $SHELL -c 'function handler { : ;}
117 [[ $got == good ]] || err_exit 'SIGCLD handler effects read behavior'
H A Dtypes.sh122 got=$(. $tmp/types) 2>/dev/null
202 got=${x.b}
218 got=${ tst.f;}
233 got=${ x.f;}
252 got=$(typeset -p _Dbg_filenames)
253 [[ "$got" == "$expected" ]] || {
254 got=$(printf %q "$got")
363 got=$($SHELL <<- \EOF
545 got=$(typeset +p "c.x2[9].ce")
547 [[ $got == "$exp" ]] || err_exit "typeset +p 'c.x2[9].ce' failed -- expected '$exp', got '$got'"
[all …]
H A Dcomvar.sh371 got=$z
372 [[ $got == "$exp" ]] || {
374 got=$(printf %q "$got")
387 got=${record[a]}
388 [[ $got == "$exp" ]] || {
390 got=$(printf %q "$got")
403 got=$r
404 [[ $got == "$exp" ]] || {
406 got=$(printf %q "$got")
577 got=$(typeset -p x)
[all …]
H A Dbasic.sh413 got=$(print -n fore; (sleep 2;print back)&)
414 [[ $got == $expected ]] || err_exit "command substitution background process output error -- got '$
443 got=$(
452 [[ $got == $exp ]] || err_exit "pipe to function with conditional fails -- expected '$exp', got '$g…
453 got=$(
458 [[ $got == $exp ]] || err_exit "pipe to { ... } with conditional fails -- expected '$exp', got '$go…
460 got=$(
465 [[ $got == $exp ]] || err_exit "pipe to ( ... ) with conditional fails -- expected '$exp', got '$go…
525 got=$($SHELL -e "$time_errexit" 2>&1)
527 "(got $(printf %q "$got"))"
[all …]
H A Dglob.sh35 typeset lineno expected drop arg got sep op val add del
58 do got="$got$sep<$arg>"
63 then got="<$del> $got"
69 if [[ $got != "$expected" ]]
70 then 'err_exit' $lineno "glob -- expected '$expected', got '$got'"
77 typeset lineno expected subject pattern got
85 if [[ $got != "$expected" ]]
86 then 'err_exit' $lineno "case $subject in $pattern) -- expected '$expected', got '$got'"
H A Dvariables.sh67 got=${ $SHELL -c 'print $PPID'; }
69 then err_exit "PPID variable failed -- expected '$exp', got '$got'"
499 got=$(<$tmp/out)
500 [[ $got == new ]] || err_exit "previously unset environment variable not passed to script, expected…
505 got=$(<$tmp/out)
506 [[ $got == new ]] || err_exit "environment variable covering local variable not passed to script, e…
511 got=$(<$tmp/out)
512 [[ $got == new ]] || err_exit "environment variable covering environment variable not passed to scr…
646 got=$($SHELL -c 'unset SHLVL; print -n aaa; ./zzz' 2>&1) >/dev/null 2>&1
647 [[ $got == "$exp" ]] || err_exit "unset SHLVL causes script failure -- expected '$exp', got '$got'"
[all …]
H A Dexpand.sh105 got=$(eval print -r -- "$pattern")
106 [[ $got == $expected ]] || err_exit "'$pattern' failed -- expected '$expected' got '$got'"
H A Dattributes.sh354 got=$(print $($SHELL -c "builtin date; $2 $CMD; $3 $CMD; $4 $CMD"))
355 …[[ $got == $exp ]] || err_exit "[ '$2' '$3' '$4' ] env sequence failed -- expected '$exp', got '…
378 unset got
379 typeset -u got
381 ((got=$exp))
382 [[ $got == $exp ]] || err_exit "typeset -l fails on numeric value -- expected '$exp', got '$got'"
383 unset got
H A Dleaks.sh64 do got=$($SHELL -c 'x=$(printf "%.*c" '$exp' x); print ${#x}' 2>&1)
65 [[ $got == $exp ]] || err_exit "large command substitution failed -- expected $exp, got $got"
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/
H A Dtestlib.h62 if (!(got cmp exp)) { \
66 #got, got, #cmp, #exp, exp); \
70 #define ASSERT_CHAR_EQ(msg, got, exp) ASSERT_CMP(msg, got, ==, exp, "%c") argument
71 #define ASSERT_INT_EQ(msg, got, exp) ASSERT_CMP(msg, got, ==, exp, "%d") argument
72 #define ASSERT_INT_NEQ(msg, got, exp) ASSERT_CMP(msg, got, !=, exp, "%d") argument
73 #define ASSERT_INT64_EQ(msg, got, exp) ASSERT_CMP(msg, got, ==, exp, "%ld") argument
74 #define ASSERT_INT64_NEQ(msg, got, exp) ASSERT_CMP(msg, got, !=, exp, "%ld") argument
75 #define ASSERT_PTR_EQ(msg, got, exp) ASSERT_CMP(msg, got, ==, exp, "%p") argument
76 #define ASSERT_PTR_NEQ(msg, got, exp) ASSERT_CMP(msg, got, !=, exp, "%p") argument
79 if (strcmp(got, exp) != 0) { \
[all …]
/illumos-gate/usr/src/boot/i386/libi386/
H A Dpread.c63 int count, got; local
67 got = read(fd, buf, count);
68 if (got < 0)
72 vpbcopy(buf, dest, got);
74 dest += got;
75 rsize -= got;
76 if (got < count)
/illumos-gate/usr/src/lib/libwrap/
H A Dmisc.c40 int got; local
44 got = strlen(ptr);
45 if (got >= 1 && ptr[got - 1] == '\n') {
47 if (got >= 2 && ptr[got - 2] == '\\') {
48 got -= 2;
53 ptr += got;
54 len -= got;
/illumos-gate/usr/src/test/libc-tests/tests/i18n/
H A Dbindtextdomain_test.c124 const char *got = bindtextdomain("domain", tc->dir); in main() local
127 if (((got == NULL) != (tc->want == NULL)) || in main()
128 ((got != NULL) && strcmp(got, tc->want))) { in main()
130 got != NULL ? got : "<NULL>", in main()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-match.c18 got = sm_match(str, pat); \
19 if (!SM_TEST(got == want)) \
22 str, pat, got ? "true" : "false");
29 bool got; variable
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dtest-suite348 1> $file.output.got 2> $file.error.got
363 diff -u "$file".$stream.expected "$file".$stream.got > "$file".$stream.diff
380 has_each_patterns "$file" 'check-output-contains' absent $file.output.got
386 has_none_patterns "$file" 'check-output-excludes' present $file.output.got
393 minmax_patterns "$file" 'check-output-pattern' $file.output.got
425 rm -f $file.{error,output}.{expected,got,diff}
505 $cmd 1> $file.output.got 2> $file.error.got
/illumos-gate/usr/src/boot/efi/loader/arch/amd64/
H A Dldscript.amd6451 *(.got.plt .got)
62 *(.rela.got)
/illumos-gate/usr/src/boot/efi/loader/arch/arm64/
H A Dldscript.arm6454 *(.got.plt .got)
66 *(.rela.got)
/illumos-gate/usr/src/boot/efi/loader/arch/i386/
H A Dldscript.i38646 *(.got.plt .got)
59 *(.rel.got)

123456