Lines Matching refs:got
171 do if ! got=$($TEST_shell "$cmd")
173 elif [[ "$got" != "$exp" ]]
175 GOT=$(printf %q "$got")
267 got=$?
268 [[ $got == $exp ]] || err_exit "getopts --man runtime callout with nonzero exit terminates shell --…
270 got=$($SHELL -c $'
278 [[ $got == $exp ]] || err_exit "getopts --man runtime callout with nonzero exit terminates shell --…
314 do got=${ printf "$body" "$1" "$2" "$code" | $SHELL 2>&1 }
318 elif [[ $got != $exp ]]
319 then err_exit "test $TEST '$1...$2 exit $code' failed -- got '$got', expected '$exp'"
391 got=$(<$tmp/out)
392 if [[ ! $got ]] && (( h ))
393 then got=HUNG
399 if [[ $got != $exp ]]
406 …].BEG}${INS[I]}${cmd}${APP[A]}${SUB[S].END} && print \${#x}' failed -- expected '$exp', got '$got'"
432 got=$(<$tmp/out)
435 if [[ ! $got ]] && (( h ))
436 then got=HUNG
438 if [[ $got != $exp ]]
439 then err_exit "eval '$cmd' failed -- expected '$exp', got '$got'"
455 got=$(env | grep ^HOME=)
456 [[ $got == "$exp" ]] || err_exit "( HOME=/bin/sh ) cleanup failed -- expected '$exp', got '$got'"
460 got=$($SHELL -c "$cmd" 2>&1)
461 [[ $got == "$exp" ]] || err_exit "'$cmd' failed -- expected '$exp', got '$got'"
465 got=$($SHELL -c "$cmd")
466 if [[ $got != "$exp" ]]
468 GOT=$(printf %q "$got")