use "use loopback" hint instead of "inet loopback", same with dhcp

This commit is contained in:
Ariadne Conill 2020-07-24 05:00:49 -06:00
parent 37394310ea
commit 16af3755e0
4 changed files with 7 additions and 12 deletions

View file

@ -18,7 +18,7 @@ noargs_body() {
}
loopback_always_configured_body() {
atf_check -s exit:0 -o match:"inet loopback" \
atf_check -s exit:0 -o match:"use loopback" \
ifquery -S/dev/null -i $FIXTURES/static-eth0.interfaces lo
}
@ -43,7 +43,7 @@ static_ipv6_body() {
}
dhcp_ipv4_body() {
atf_check -s exit:0 -o match:"inet dhcp" \
atf_check -s exit:0 -o match:"use dhcp" \
ifquery -S/dev/null -i $FIXTURES/dhcp-eth0.interfaces eth0
}