Lines Matching refs:log_test
19 log_test() function
108 log_test ${rc} 0 "${nsname}: add vrf ${vrfname}, ${cnt} vrfs for table ${vrftable}"
123 log_test ${rc} 2 "${nsname}: CANNOT add vrf ${vrfname}, ${cnt} vrfs for table ${vrftable}"
133 log_test $? 0 "${nsname}: remove vrf ${vrfname}"
145 log_test $? 0 "${nsname}: vrf ${vrfname} up, addr ${addr}"
180 log_test ${res} ${expected} "${nsname}: check strict_mode=${res}"
216 log_test $? 0 "${nsname}: disable strict_mode (=0)"
224 log_test $? 0 "${nsname}: enable strict_mode (=1)"
232 log_test $? 1 "${nsname}: CANNOT enable strict_mode"
243 log_test ${strictmode} 0 "${nsname}: strict_mode=0 by default, ${vrfcnt} vrfs"
390 log_test ${rc} 0 "${nsname}: net.vrf.strict_mode is available"