Lines Matching full:expected
57 local expected=$2
65 if [ $nr != $expected ]; then
70 echo "[ fail ] expected $expected found $nr"
97 local expected=$1
108 [ $nr == $expected ] && break;
116 echo "[ fail ] timeout while expecting $expected max $max last $nr"
119 elif [ $nr != $expected ]; then
120 echo "[ 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
173 expected=$((expected + listen_nr))
176 if [ $(get_msk_inuse) -eq $expected ];then
182 __chk_nr get_msk_inuse $expected "$msg" 0