Lines Matching refs:exp
167 exp=$3
174 elif [[ "$got" != "$exp" ]]
175 then EXP=$(printf %q "$exp")
259 exp=0
266 exit '$exp$'
269 [[ $got == $exp ]] || err_exit "getopts --man runtime callout with nonzero exit terminates shell --…
270 exp=ok
277 print '$exp$'
279 [[ $got == $exp ]] || err_exit "getopts --man runtime callout with nonzero exit terminates shell --…
292 exp=ok
319 elif [[ $got != $exp ]]
320 then err_exit "test $TEST '$1...$2 exit $code' failed -- got '$got', expected '$exp'"
396 then exp=${TST[T].EXP}
397 else exp=$n
399 if [[ $got != $exp ]]
402 siz=$(printf $'%#i' $exp)
406 …].BEG}${INS[I]}${cmd}${APP[A]}${SUB[S].END} && print \${#x}' failed -- expected '$exp', got '$got'"
434 exp=''
438 if [[ $got != $exp ]]
439 then err_exit "eval '$cmd' failed -- expected '$exp', got '$got'"
453 exp=HOME=$HOME
456 [[ $got == "$exp" ]] || err_exit "( HOME=/bin/sh ) cleanup failed -- expected '$exp', got '$got'"
459 exp=ok
461 [[ $got == "$exp" ]] || err_exit "'$cmd' failed -- expected '$exp', got '$got'"
464 exp=$'x\nx'
466 if [[ $got != "$exp" ]]
467 then EXP=$(printf %q "$exp")
500 exp=ok
501 got=$( $SHELL -c "(eval '$src'); echo $exp" )
502 [[ $got == "$exp" ]] || err_exit 'subshell eval of pipeline clobbers stdout'