test: add test for vrf static route support
This commit is contained in:
parent
0928f07af5
commit
4fdd91beee
1 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,7 @@ tests_init \
|
|||
vrf_dependency \
|
||||
vrf_ifupdown2_rewrite \
|
||||
vrf_ifupdown2_dependency \
|
||||
vrf_implicit_static_gateway \
|
||||
ppp_dependency \
|
||||
ppp_legacy_rewrite \
|
||||
tunnel_dependency \
|
||||
|
@ -139,6 +140,11 @@ vrf_ifupdown2_dependency_body() {
|
|||
ifquery -E $EXECUTORS_LINUX -i $FIXTURES/vrf-ifupdown2.interfaces eth0
|
||||
}
|
||||
|
||||
vrf_implicit_static_gateway_body() {
|
||||
atf_check -s exit:0 -o match:"use static" \
|
||||
ifquery -E $EXECUTORS_LINUX -i $FIXTURES/vrf.interfaces vrf-red
|
||||
}
|
||||
|
||||
ppp_dependency_body() {
|
||||
atf_check -s exit:0 -o match:"requires eth0" \
|
||||
ifquery -E $EXECUTORS_LINUX -i $FIXTURES/ppp.interfaces ppp0
|
||||
|
|
Loading…
Reference in a new issue