Lines Matching refs:log_test
22 log_test() function
105 log_test $? 0 "IPv4 fibmatch"
107 log_test $? 0 "IPv6 fibmatch"
115 log_test $? 2 "IPv4 fibmatch - no route"
117 log_test $? 2 "IPv6 fibmatch - no route"
146 log_test $? 0 "IPv4 fibmatch"
148 log_test $? 0 "IPv6 fibmatch"
156 log_test $? 2 "IPv4 - multipath route removed on delete"
160 log_test $? 0 "IPv6 - multipath down to single path"
168 log_test $? 2 "IPv6 - no route"
188 log_test $? 0 "IPv4 fibmatch"
190 log_test $? 0 "IPv6 fibmatch"
198 log_test $? 2 "IPv4 fibmatch"
200 log_test $? 2 "IPv6 fibmatch"
212 log_test $? 2 "IPv4 fibmatch on down device"
215 log_test $? 2 "IPv6 fibmatch on down device"
219 log_test $? 0 "IPv4 fibmatch on up device"
222 log_test $? 0 "IPv6 fibmatch on up device"
226 log_test $? 0 "IPv4 flags on down device"
229 log_test $? 0 "IPv6 flags on down device"
233 log_test $? 1 "IPv4 flags on up device"
236 log_test $? 1 "IPv6 flags on up device"
263 log_test $? 0 "IPv4 fibmatch"
266 log_test $? 0 "IPv6 fibmatch"
289 log_test $? 2 "IPv4 fibmatch"
291 log_test $? 2 "IPv6 fibmatch"
317 log_test $? 0 "IPv4 fibmatch"
319 log_test $? 0 "IPv6 fibmatch"
323 log_test $? 1 "IPv4 - no linkdown flag"
326 log_test $? 1 "IPv6 - no linkdown flag"
335 log_test $? 0 "IPv4 fibmatch"
337 log_test $? 0 "IPv6 fibmatch"
341 log_test $? 1 "IPv4 - linkdown flag set"
344 log_test $? 1 "IPv6 - linkdown flag set"
353 log_test $? 0 "IPv4 fibmatch"
355 log_test $? 0 "IPv6 fibmatch"
359 log_test $? 1 "IPv4 linkdown flag set"
362 log_test $? 1 "IPv6 linkdown flag set"
382 log_test $? 0 "IPv4 fibmatch"
384 log_test $? 0 "IPv6 fibmatch"
388 log_test $? 1 "IPv4 no linkdown flag"
391 log_test $? 1 "IPv6 no linkdown flag"
400 log_test $? 0 "IPv4 fibmatch"
402 log_test $? 0 "IPv6 fibmatch"
406 log_test $? 0 "IPv4 linkdown flag set"
409 log_test $? 0 "IPv6 linkdown flag set"
418 log_test $? 0 "IPv4 fibmatch"
420 log_test $? 0 "IPv6 fibmatch"
424 log_test $? 0 "IPv4 linkdown flag set"
427 log_test $? 0 "IPv6 linkdown flag set"
497 log_test $? 0 "rp_filter passes local packets"
500 log_test $? 0 "rp_filter passes loopback packets"
533 log_test $rc $erc "$desc"
690 log_test $ret 0 "ipv6 route add notify"
737 log_test $ret 0 "ipv4 route add notify"
775 log_test 1 0 "expected $expected routes, got $num"
812 log_test $ret 0 "ipv6 route garbage collection"
830 log_test $ret 0 "ipv6 route garbage collection (with permanent routes)"
848 log_test $ret 0 "ipv6 route garbage collection (replace with expires)"
868 log_test $ret 0 "ipv6 route garbage collection (replace with permanent)"
905 log_test $ret 0 "ipv6 route garbage collection (RA message)"
927 log_test 0 0 "FIB rule suppress test"
1129 log_test $? 2 "Attempt to add duplicate route - gw"
1134 log_test $? 2 "Attempt to add duplicate route - dev only"
1139 log_test $? 2 "Attempt to add duplicate route - reject route"
1146 log_test $? 0 "Append nexthop to existing route - gw"
1151 log_test $? 0 "Add multipath route"
1155 log_test $? 2 "Attempt to add duplicate multipath route"
1165 log_test $rc 0 "Route add with different metrics"
1173 log_test $rc 0 "Route delete with metric"
1183 log_test $? 0 "Single path with single path"
1190 log_test $? 0 "Single path with multipath"
1197 log_test $? 0 "Single path with single path via multipath attribute"
1205 log_test 0 1 "Invalid nexthop"
1208 log_test $? 0 "Invalid nexthop"
1216 log_test $? 2 "Single path - replace of non-existent route"
1225 log_test $? 0 "Multipath with multipath"
1231 log_test $? 0 "Multipath with single path"
1237 log_test $? 0 "Multipath with single path via multipath attribute"
1243 log_test $? 0 "Multipath with dev-only"
1249 log_test $? 0 "Multipath - invalid first nexthop"
1255 log_test $? 0 "Multipath - invalid second nexthop"
1260 log_test $? 2 "Multipath - replace of non-existent route"
1281 log_test $? 2 "Reject route with dsfield"
1329 log_test $? 0 "Default metric"
1337 log_test $? 0 "User specified metric on first device"
1345 log_test $? 0 "User specified metric on second device"
1353 log_test $rc 0 "Delete of address on first device"
1361 log_test $rc 0 "Modify metric of address"
1372 log_test $rc 0 "Prefix route removed on link down"
1381 log_test $rc 0 "Prefix route with metric on link up"
1390 log_test $? 0 "Set metric with peer route on local side"
1392 log_test $? 0 "Set metric with peer route on peer side"
1399 log_test $? 0 "Modify metric and peer address on local side"
1401 log_test $? 0 "Modify metric and peer address on peer side"
1426 log_test $rc 0 "Single path route with mtu metric"
1439 log_test $rc 0 "Multipath route via 2 single routes with mtu metric on first"
1450 log_test $rc 0 "Multipath route via 2 single routes with mtu metric on 2nd"
1455 log_test $? 0 " MTU of second leg"
1467 log_test $rc 0 "Multipath route with mtu metric"
1471 log_test $? 0 "Using route with mtu metric"
1474 log_test $? 2 "Invalid metric (fails metric_convert)"
1541 log_test $? 2 "Attempt to add duplicate route - gw"
1546 log_test $? 2 "Attempt to add duplicate route - dev only"
1551 log_test $? 2 "Attempt to add duplicate route - reject route"
1558 log_test $? 0 "Add new nexthop for existing prefix"
1565 log_test $? 0 "Append nexthop to existing route - gw"
1570 log_test $? 0 "Append nexthop to existing route - dev only"
1575 log_test $? 0 "Append nexthop to existing route - reject route"
1581 log_test $? 0 "Append nexthop to existing reject route - gw"
1587 log_test $? 0 "Append nexthop to existing reject route - dev only"
1592 log_test $? 0 "add multipath route"
1596 log_test $? 2 "Attempt to add duplicate multipath route"
1606 log_test $rc 0 "Route add with different metrics"
1614 log_test $rc 0 "Route delete with metric"
1624 log_test $? 0 "Single path with single path"
1631 log_test $? 0 "Single path with multipath"
1638 log_test $? 0 "Single path with reject route"
1645 log_test $? 0 "Single path with single path via multipath attribute"
1653 log_test 0 1 "Invalid nexthop"
1656 log_test $? 0 "Invalid nexthop"
1664 log_test $? 2 "Single path - replace of non-existent route"
1673 log_test $? 0 "Multipath with multipath"
1679 log_test $? 0 "Multipath with single path"
1685 log_test $? 0 "Multipath with single path via multipath attribute"
1691 log_test $? 0 "Multipath with reject route"
1697 log_test $? 0 "Multipath - invalid first nexthop"
1703 log_test $? 0 "Multipath - invalid second nexthop"
1708 log_test $? 2 "Multipath - replace of non-existent route"
1741 log_test $? 0 "Cached route removed from VRF port device"
1753 log_test $? 2 "Reject route with dsfield 0x01"
1756 log_test $? 2 "Reject route with dsfield 0x02"
1759 log_test $? 2 "Reject route with dsfield 0x03"
1770 log_test $? 0 "IPv4 route with DSCP and ECN:Not-ECT"
1774 log_test $? 0 "IPv4 route with DSCP and ECN:ECT(1)"
1778 log_test $? 0 "IPv4 route with DSCP and ECN:ECT(0)"
1782 log_test $? 0 "IPv4 route with DSCP and ECN:CE"
1787 log_test $? 0 "IPv4 route with unknown DSCP and ECN:Not-ECT"
1791 log_test $? 0 "IPv4 route with unknown DSCP and ECN:ECT(1)"
1795 log_test $? 0 "IPv4 route with unknown DSCP and ECN:ECT(0)"
1799 log_test $? 0 "IPv4 route with unknown DSCP and ECN:CE"
1804 log_test $? 0 "IPv4 route with no DSCP and ECN:Not-ECT"
1808 log_test $? 0 "IPv4 route with no DSCP and ECN:ECT(1)"
1812 log_test $? 0 "IPv4 route with no DSCP and ECN:ECT(0)"
1816 log_test $? 0 "IPv4 route with no DSCP and ECN:CE"
1854 log_test $? 0 "Default metric"
1862 log_test $? 0 "User specified metric on first device"
1870 log_test $? 0 "User specified metric on second device"
1878 log_test $rc 0 "Delete of address on first device"
1886 log_test $rc 0 "Modify metric of address"
1896 log_test $rc 0 "Prefix route removed on link down"
1905 log_test $rc 0 "Prefix route with metric on link up"
1916 log_test $rc 0 "Modify metric of .0/24 address"
1925 log_test $rc 0 "Set metric of address with peer route"
1933 log_test $rc 0 "Modify metric and peer address for peer route"
1955 log_test $rc 0 "Single path route with mtu metric"
1964 log_test $rc 0 "Multipath route with mtu metric"
1968 log_test $? 0 "Using route with mtu metric"
1971 log_test $? 2 "Invalid metric (fails metric_convert)"
2012 log_test $? 1 "Route removed from VRF when source address deleted"
2015 log_test $? 0 "Route in default VRF not removed"
2022 log_test $? 1 "Route removed in default VRF when source address deleted"
2025 log_test $? 0 "Route in VRF is not removed by address delete"
2033 log_test $? 1 "Route removed from VRF when source address deleted"
2036 log_test $? 0 "Route in default VRF not removed"
2043 log_test $? 1 "Route removed in default VRF when source address deleted"
2046 log_test $? 0 "Route in VRF is not removed by address delete"
2054 log_test $? 1 "Route removed in default VRF when source address deleted"
2126 log_test $? 1 "Prefsrc removed when src address removed on other device"
2132 log_test $? 0 "Prefsrc not removed when src address exist on other device"
2136 log_test $? 1 "Prefsrc removed when src address removed on all devices"
2142 log_test $? 1 "Prefsrc removed when src address removed on other device"
2148 log_test $? 0 "Prefsrc not removed when src address exist on other device"
2152 log_test $? 1 "Prefsrc removed when src address removed on all devices"
2158 log_test $? 1 "Prefsrc removed from VRF when source address deleted"
2160 log_test $? 0 "Prefsrc in default VRF not removed"
2166 log_test $? 0 "Prefsrc not removed from VRF when source address exist"
2168 log_test $? 1 "Prefsrc in default VRF removed"
2174 log_test $? 0 "Prefsrc not removed from VRF when nexthop dev in diff VRF"
2176 log_test $? 0 "Prefsrc not removed in default VRF"
2181 log_test $? 1 "Prefsrc removed from VRF when nexthop dev in diff VRF"
2183 log_test $? 1 "Prefsrc removed in default VRF"
2189 log_test $? 1 "Prefsrc removed from default VRF when source address deleted"
2194 log_test $? 0 "Prefsrc not removed when delete ll addr from other dev"
2197 log_test $? 1 "Prefsrc removed when delete ll addr"
2199 log_test $? 0 "Prefsrc not removed when delete ll addr from other dev"
2203 log_test $? 1 "Prefsrc removed even ll addr still exist on other dev"
2226 log_test $rc 0 "Single path route with IPv6 gateway"
2232 log_test $rc 0 "Single path route with IPv6 gateway - ping"
2236 log_test $rc 0 "Single path route delete"
2246 log_test $rc 0 "Multipath route add - v6 nexthop then v4"
2252 log_test $? 2 " Multipath route delete - nexthops in wrong order"
2255 log_test $? 0 " Multipath route delete exact match"
2262 log_test $rc 0 "Multipath route add - v4 nexthop then v6"
2268 log_test $? 2 " Multipath route delete - nexthops in wrong order"
2271 log_test $? 0 " Multipath route delete exact match"
2334 log_test $? 0 " Connection with correct parameters"
2337 log_test $? 1 " Connection with incorrect parameters"
2343 log_test $? 0 " Connection with correct parameters - mangling"
2350 log_test $? 0 " Connection with correct parameters - no mangling"
2354 log_test $? 0 " Connection check - server side"
2392 log_test $? 0 " Connection with correct parameters"
2395 log_test $? 1 " Connection with incorrect parameters"
2401 log_test $? 0 " Connection with correct parameters - mangling"
2408 log_test $? 0 " Connection with correct parameters - no mangling"
2412 log_test $? 0 " Connection check - server side"
2465 log_test $? 0 "Resolved neighbour for broadcast address"
2468 log_test $? 0 "Resolved neighbour for network broadcast address"
2471 log_test $? 2 "Unresolved neighbour for broadcast address"
2474 log_test $? 2 "Unresolved neighbour for network broadcast address"
2536 log_test $? 0 "Multipath route hit ratio ($ratio)"
2686 log_test $? 0 "IPv4 multipath loadbalance"
2711 log_test $? 0 "IPv6 multipath loadbalance"