Home
last modified time | relevance | path

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

12345

/titanic_52/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dlocale.sh39 [[ "$b" == "$a" ]] || err_exit "locale not restored after subshell -- expected '$a', got '$b'"
41 [[ "$b" == "$a" ]] || err_exit "locale not restored after subshell -- expected '$a', got '$b'"
54 [[ $b == "$n" ]] || err_exit "LC_ALL=$locale printf difference for \"$s\" -- expected '$n', got '$b'"
120 got=$*
121 [[ $got == $exp ]] || err_exit "command wc LC_ALL default failed -- expected '$exp', got '$got'"
134 got=$*
135 [[ $got == $exp ]] || err_exit "builtin wc LC_ALL default failed -- expected '$exp', got '
[all...]
H A Dpath.sh169 got=$($SHELL -c "unset FPATH; PATH=/dev/null; $cmd" 2>&1)
170 [[ $got == $exp ]] && err_exit "$cmd as last command should not find ./$cmd with PATH=/dev/null"
171 got=$($SHELL -c "unset FPATH; PATH=/dev/null; $cmd" 2>&1)
172 [[ $got == $exp ]] && err_exit "$cmd should not find ./$cmd with PATH=/dev/null"
174 got=$(unset FPATH; PATH=/dev/null; whence ./$cmd)
175 [[ $got == $exp ]] || err_exit "whence $cmd should find ./$cmd with PATH=/dev/null"
177 got=$(unset FPATH; PATH=/dev/null; whence $PWD/$cmd)
178 [[ $got == $exp ]] || err_exit "whence \$PWD/$cmd should find ./$cmd with PATH=/dev/null"
182 got=$($SHELL -c "unset FPATH; PATH=/dev/null; whence ./notfound" 2>&1)
183 [[ $got
[all...]
H A Dcubetype.sh57 exp=3 got=${b.x}
58 [[ "$got" == "$exp" ]] || err_exit "\${b.x} incorrect for iteration $i -- expected $exp, got '$got'"
59 exp=5 got=$(( b.len ))
60 (( got == exp )) || err_exit "b.len incorrect for iteration $i -- expected $exp, got '$got = sqrt(${b.x}*${b.x}+${b.y}*${b.y})'"
61 exp=5 got=${b.len}
62 [[ "$got"
[all...]
H A Dcoprocess.sh118 got=$REPLY
119 if [[ $got != $exp ]]
120 then err_exit "${SHELL-ksh} $cat coprocess io failed -- got '$got', expected '$exp'"
164 [[ $r == $e ]] || err_exit "$cat coprocess timing bug -- expected $e, got '$r'"
177 [[ $r == $e ]] || err_exit "$cat coprocess command substitution bug -- expected $e, got '$r'"
222 [[ $REPLY == "$exp" ]] || err_exit "REPLY from $cat coprocess failed -- expected '$exp', got '$REPLY'"
259 got=$(print -r $'#00315
264 [[ $got == $exp ]] || err_exit "coshell(3) identification sequence failed -- expected '$exp', got '
[all...]
H A Dsubshell.sh119 (( no == (BS * nb) )) || err_exit "shell hangs on command substitution output size >= $BS*$nb with write size $bs -- expected $((BS*nb)), got ${no:-0}"
134 (( no == (BS * nb) )) || err_exit "shell hangs on command substitution output size >= $BS*$nb with write size $bs and trailing redirection -- expected $((BS*nb)), got ${no:-0}"
172 do if ! got=$($TEST_shell "$cmd")
174 elif [[ "$got" != "$exp" ]]
176 GOT=$(printf %q "$got")
177 err_exit "${TEST_shell/*-c/\$SHELL -c} ${TEST_unset:+unset }${TEST_fork:+fork }$txt command substitution failed -- expected $EXP, got $GOT"
268 got=$?
269 [[ $got == $exp ]] || err_exit "getopts --man runtime callout with nonzero exit terminates shell -- expected '$exp', got '$got'"
[all...]
H A Dio.sh64 then err_exit "read on <> fd failed -- expected '$exp', got '$line'"
83 then read -u3 got
84 read -u4 got
86 case $got in
91 [[ $semantics == @(${FDFS[fdfs].semantics}) ]] || err_exit "'4< ${FDFS[fdfs].dir}/3' $semantics semantics instead of ${FDFS[fdfs].semantics} -- expected '$exp', got '$got'"
95 got=$(
104 case $got in
109 [[ $semantics == @(${FDFS[fdfs].semantics}) ]] || err_exit "${FDFS[fdfs].dir}/N $semantics semantics instead of ${FDFS[fdfs].semantics} -- expected '$exp', got '$got'"
[all...]
H A Doptions.sh63 got=$($SHELL -E -c : 2>/dev/null)
66 got=$(printf %q "$got")
67 err_exit "\$ENV file &>/dev/null does not redirect stdout -- expected '', got $got"
69 got=$($SHELL -E -c : 2>&1 >/dev/null)
70 if [[ $got != *nonstandard* || $got == *$'\n'* ]]
72 got=$(printf %q "$got")
[all...]
H A Dsigchld.sh62 (( foreground == FOREGROUND )) || err_exit "expected '$FOREGROUND foreground' -- got '$foreground' (DELAY=$DELAY)"
63 (( background == BACKGROUND )) || err_exit "expected '$BACKGROUND background' -- got '$background' (DELAY=$DELAY)"
71 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 $(printf %q "$got")"
[all...]
H A Dtypes.sh122 got=$(. $tmp/types) 2>/dev/null
123 [[ "$got" == "$expected" ]] || err_exit "typedefs in dot script failed -- expected '$expected', got '$got'"
202 got=${x.b}
203 [[ "$got" == "$expected" ]] || err_exit "type '_' reference failed -- expected '$expected', got '$got'"
218 got=${ tst.f;}
219 [[ "$got"
[all...]
H A Dcomvar.sh371 got=$z
372 [[ $got == "$exp" ]] || {
374 got=$(printf %q "$got")
375 err_exit "compound indexed array pretty print failed -- expected $exp, got $got"
387 got=${record[a]}
388 [[ $got == "$exp" ]] || {
390 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
81 $pattern) got
[all...]
H A Dvariables.sh67 got=${ $SHELL -c 'print $PPID'; }
69 then err_exit "PPID variable failed -- expected '$exp', got '$got'"
75 then err_exit "OLDPWD variable failed -- expected '$old', got '$OLDPWD'"
297 *) err_exit "IFS=': '; set -- '$i'; expected '$s' got '$g'" ;;
302 *) err_exit "IFS=': '; read '$i'; expected '$r' got '$g'" ;;
499 got=$(<$tmp/out)
500 [[ $got == new ]] || err_exit "previously unset environment variable not passed to script, expected 'new', got '$got'"
[all...]
H A Dbasic.sh53 [[ $g == $2 ]] || err_exit "umask 0; umask $1 failed -- expected $2, got $g"
413 got=$(print -n fore; (sleep 2;print back)&)
414 [[ $got == $expected ]] || err_exit "command substitution background process output error -- got '$got', expected '$expected'"
443 got=$(
452 [[ $got == $exp ]] || err_exit "pipe to function with conditional fails -- expected '$exp', got '$got'"
453 got
[all...]
H A Dexpand.sh105 got=$(eval print -r -- "$pattern")
106 [[ $got == $expected ]] || err_exit "'$pattern' failed -- expected '$expected' got '$got'"
107 #print -r -- " '$pattern' '$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"
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 '$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'"
[all...]
H A Dsignal.sh265 tst $SHELL > tst.got
268 do [[ $out == ${expected[$ops]} ]] || err_exit "interrupt $ops test failed -- expected '${expected[$ops]}', got '$out'"
269 done < tst.got
295 got=$(kill -l $?)
296 [[ $exp == $got ]] || err_exit "kill -$exp \$\$ failed, required termination by signal '$got'"
304 [[ $e == 3 ]] || err_exit "exit status failed -- expected 3, got $e"
306 [[ $x == done ]] || err_exit "output failed -- expected 'done', got '$x'"
312 [[ $e == 3 ]] || err_exit "exit status failed -- expected 3, got $e"
314 [[ $x == done ]] || err_exit "output failed -- expected 'done', got '
[all...]
/titanic_52/usr/src/boot/sys/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)
/titanic_52/usr/src/lib/libwrap/
H A Dmisc.c41 int got; local
45 got = strlen(ptr);
46 if (got >= 1 && ptr[got - 1] == '\n') {
48 if (got >= 2 && ptr[got - 2] == '\\') {
49 got -= 2;
54 ptr += got;
55 len -= got;
/titanic_52/usr/src/boot/sys/boot/ofw/libofw/
H A Dofw_copy.c140 ssize_t got; in ofw_readin() local
158 for (resid = len; resid > 0; resid -= got, p += got) { in ofw_readin()
160 got = read(fd, buf, get); in ofw_readin()
162 if (got <= 0) { in ofw_readin()
163 if (got < 0) in ofw_readin()
168 bcopy(buf, (void *)p, got); in ofw_readin()
/titanic_52/usr/src/cmd/sendmail/libsm/
H A Dt-match.c20 got = sm_match(str, pat); \
21 if (!SM_TEST(got == want)) \
24 str, pat, got ? "true" : "false");
31 bool got; variable
/titanic_52/usr/src/boot/sys/boot/arm/uboot/
H A Dldscript.arm31 .rela.got : { *(.rela.got) }
77 .got : { *(.got) }
78 .got.plt : { *(.got.plt) }
/titanic_52/usr/src/boot/sys/boot/efi/loader/arch/amd64/
H A Dldscript.amd6450 *(.got.plt .got)
61 *(.rela.got)
/titanic_52/usr/src/boot/sys/boot/efi/loader/arch/arm64/
H A Dldscript.arm6454 *(.got.plt .got)
66 *(.rela.got)
/titanic_52/usr/src/boot/sys/boot/efi/loader/arch/i386/
H A Dldscript.i38646 *(.got.plt .got)
59 *(.rel.got)

12345