From 03b71ab11429505548bab8882b47e65158884444 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 24 Jul 2020 00:15:43 -0600 Subject: [PATCH] tests: fix up ifdown alias tests --- tests/ifdown_test | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/ifdown_test b/tests/ifdown_test index 2892347..8288f85 100755 --- a/tests/ifdown_test +++ b/tests/ifdown_test @@ -60,19 +60,19 @@ inet_dhcp_body() { alias_eth0_home_body() { atf_check -s exit:0 -e ignore \ - -o match:'ip link set down dev eth0' \ + -o match:'ip link set down dev wlan0' \ -o match:'dhc' \ ifdown -S $FIXTURES/alias-home.ifstate \ - -i $FIXTURES/alias-home-work.interfaces -n eth0 + -i $FIXTURES/alias-home-work.interfaces -n wlan0 } alias_eth0_work_body() { atf_check -s exit:0 -e ignore \ - -o match:'ip link set down dev eth0' \ - -o match:'del 203.0.113.2/24 dev eth0' \ - -o match:'del 2001:db8:1000:2::2/64 dev eth0' \ + -o match:'ip link set down dev wlan0' \ + -o match:'del 203.0.113.2/24 dev wlan0' \ + -o match:'del 2001:db8:1000:2::2/64 dev wlan0' \ -o match:'default via 203.0.113.1' \ -o match:'default via 2001:db8:1000:2::1' \ ifdown -S $FIXTURES/alias-work.ifstate \ - -i $FIXTURES/alias-home-work.interfaces -n eth0 + -i $FIXTURES/alias-home-work.interfaces -n wlan0 }