Lines Matching refs:got

39 [[ "$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 '$got'"
181 got=$($SHELL -c "${T}print \$(( $exp ))" 2>&1)
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'"
208 got=$(LC_ALL=C.UTF-8 $SHELL -c $'\u[5929]=OK; print ${\u[5929]}' 2>&1)
209 [[ $got == "$exp" ]] || err_exit "multibyte variable definition/expansion failed -- expected '$exp', got '$got'"
210 got=$(LC_ALL=C.UTF-8 $SHELL -c $'function \u[5929]\n{\nprint OK;\n}; \u[5929]' 2>&1)
211 [[ $got == "$exp" ]] || err_exit "multibyte ksh function definition/execution failed -- expected '$exp', got '$got'"
212 got=$(LC_ALL=C.UTF-8 $SHELL -c $'\u[5929]()\n{\nprint OK;\n}; \u[5929]' 2>&1)
213 [[ $got == "$exp" ]] || err_exit "multibyte posix function definition/execution failed -- expected '$exp', got '$got'"
235 do got=$($SHELL -c "$cmd" 2>&1 | sort -u | wc -l)
236 (( ${got:-0} == $exp )) || err_exit "'$cmd' sequence failed -- error message not localized"
247 got=
253 got+=${msg[$line]}
255 [[ $got == $exp ]] || err_exit "'$tst' failed -- expected '$exp', got '$got'"
260 got=$(LC_ALL=debug $SHELL -c "a<2A@>z=$exp; print \$a<2A@>z")
261 [[ $got == $exp ]] || err_exit "multibyte debug locale \$a<2A@>z failed -- expected '$exp', got '$got'"
271 got=$(message; LANG=C message; message)
272 [[ $got == "$exp" || $got == "$alt" ]] || {
275 GOT=$(printf %q "$got")
276 err_exit "LANG change not seen by function -- expected $EXP or $ALT, got $GOT"
280 got=$(print -r aa$"\\ahello \" /\\${a_thing}/\\"zz)
282 [[ $got == "$exp" ]] || err_exit "$\"...\" containing expansions fails: expected $exp, got $got"
285 typeset got=$"This is a string\n"
286 [[ $got == "$exp" ]] || err_exit "$\"...\" in assignment expansion fails: expected $exp got $got"
338 then got='68 65 6c 6c 6f e2 82 ac ee 20 77 6f 72 6c 64 0a'
339 [[ $(print -r -- "$x" | od -An -tx1) == "$got" ]] || err_exit "incorrect string from printf %q"