Lines Matching refs:expected
50 local expected=$2
58 if [ "$nr" != "$expected" ]; then
63 mptcp_lib_pr_fail "expected $expected found $nr"
88 local expected=$1
91 __chk_nr "ss -nlHMON $ns | wc -l" "$expected" "$msg - mptcp" 0
92 __chk_nr "ss -nlHtON $ns | wc -l" "$expected" "$msg - subflows"
98 local expected=$1
109 [ $nr == $expected ] && break;
117 mptcp_lib_pr_fail "timeout while expecting $expected max $max last $nr"
120 elif [ $nr != $expected ]; then
121 mptcp_lib_pr_fail "expected $expected found $nr"
143 local expected=$2
146 __chk_nr "ss -N $ns -Ml '$filter' | grep -c LISTEN" "$expected" "$msg" 0
168 local expected=$1
169 local msg="....chk ${2:-${expected}} msk in use"
172 if [ "${expected}" -eq 0 ]; then
177 expected=$((expected + listen_nr))
180 if [ "$(get_msk_inuse)" -eq $expected ]; then
186 __chk_nr get_msk_inuse $expected "${msg}" 0
192 local expected=$1
193 local msg="....chk ${2:-${expected}} cestab"
195 if [ "${expected}" -eq 0 ]; then
200 "${expected}" "${msg}" ""