Lines Matching refs:expected
25 local expected=$2
28 if [ ${rc} -eq ${expected} ]; then
758 local expected=$1
761 if [ $num -ne $expected ]; then
762 echo "FAIL: Expected $expected routes, got $num"
771 local expected=$1
774 if [ $num -ne $expected ]; then
775 log_test 1 0 "expected $expected routes, got $num"
960 local expected="$2"
963 [ "${out}" = "${expected}" ] && return 0
969 printf " ${expected}\n"
977 if [ "${out}" != "${expected}" ]; then
983 printf " ${expected}\n\n"
991 # expected to be the first step of a test
1029 local expected="$1"
1033 set -- $expected
1037 check_expected "${out}" "${expected}"
1174 # previous command is expected to fail so if it returns 0
1451 # expected to be the first step of a test
1489 local expected="$1"
1492 set -- $expected
1497 check_expected "${out}" "${expected}"
1622 # previous command is expected to fail so if it returns 0
2501 local expected=$1; shift
2504 local ratio=$(echo "scale=2; $count / $expected" | bc -l)