Lines Matching refs:expected
35 typeset lineno expected drop arg got sep op val add del
46 expected=$1
49 then if [[ $expected == "<Beware> "* ]]
50 then expected=${expected#"<Beware> "}
51 expected="$expected <Beware>"
53 if [[ $expected == *"<aXb> <abd>"* ]]
54 then expected=${expected/"<aXb> <abd>"/"<abd> <aXb>"}
66 then expected="<$add> $expected"
69 if [[ $got != "$expected" ]]
70 then 'err_exit' $lineno "glob -- expected '$expected', got '$got'"
77 typeset lineno expected subject pattern got
78 lineno=$1 expected=$2 subject=$3 pattern=$4
85 if [[ $got != "$expected" ]]
86 then 'err_exit' $lineno "case $subject in $pattern) -- expected '$expected', got '$got'"
309 then 'err_exit' $1 subject="'$subject' $x failed, expected '$3', got '$g'"