From: Tobias Brunner Date: Wed, 22 Sep 2021 11:46:19 +0000 (+0200) Subject: testing: Replace `arp` with `ip neigh` X-Git-Tag: 5.9.4dr3~12^2~3 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=1ec01f10a25e3b799aa13682af8dd17522591076;p=thirdparty%2Fstrongswan.git testing: Replace `arp` with `ip neigh` The net-tools package, which provides arp and other older utilities like ifconfig, is not installed anymore on Debian bullseye. --- diff --git a/testing/tests/ikev2/dhcp-dynamic/posttest.dat b/testing/tests/ikev2/dhcp-dynamic/posttest.dat index d258f1e384..5951a694b5 100644 --- a/testing/tests/ikev2/dhcp-dynamic/posttest.dat +++ b/testing/tests/ikev2/dhcp-dynamic/posttest.dat @@ -9,5 +9,5 @@ venus::rm /var/lib/dhcp/dhcpd.leases*; touch /var/lib/dhcp/dhcpd.leases moon::iptables-restore < /etc/iptables.flush carol::iptables-restore < /etc/iptables.flush dave::iptables-restore < /etc/iptables.flush -alice::arp -d 10.1.0.50 -alice::arp -d 10.1.0.51 +alice::ip neigh del 10.1.0.50 dev eth0 +alice::ip neigh del 10.1.0.51 dev eth0 diff --git a/testing/tests/ikev2/dhcp-static-client-id/posttest.dat b/testing/tests/ikev2/dhcp-static-client-id/posttest.dat index 84ee531375..cd77f5d67e 100644 --- a/testing/tests/ikev2/dhcp-static-client-id/posttest.dat +++ b/testing/tests/ikev2/dhcp-static-client-id/posttest.dat @@ -7,5 +7,5 @@ venus::service isc-dhcp-server stop 2> /dev/null moon::iptables-restore < /etc/iptables.flush carol::iptables-restore < /etc/iptables.flush dave::iptables-restore < /etc/iptables.flush -alice::arp -d 10.1.0.30 -alice::arp -d 10.1.0.40 +alice::ip neigh del 10.1.0.30 dev eth0 +alice::ip neigh del 10.1.0.40 dev eth0 diff --git a/testing/tests/ikev2/dhcp-static-mac/posttest.dat b/testing/tests/ikev2/dhcp-static-mac/posttest.dat index 84ee531375..cd77f5d67e 100644 --- a/testing/tests/ikev2/dhcp-static-mac/posttest.dat +++ b/testing/tests/ikev2/dhcp-static-mac/posttest.dat @@ -7,5 +7,5 @@ venus::service isc-dhcp-server stop 2> /dev/null moon::iptables-restore < /etc/iptables.flush carol::iptables-restore < /etc/iptables.flush dave::iptables-restore < /etc/iptables.flush -alice::arp -d 10.1.0.30 -alice::arp -d 10.1.0.40 +alice::ip neigh del 10.1.0.30 dev eth0 +alice::ip neigh del 10.1.0.40 dev eth0 diff --git a/testing/tests/ikev2/farp/pretest.dat b/testing/tests/ikev2/farp/pretest.dat index 5d467f71f6..98a58e2d83 100755 --- a/testing/tests/ikev2/farp/pretest.dat +++ b/testing/tests/ikev2/farp/pretest.dat @@ -1,8 +1,8 @@ moon::iptables-restore < /etc/iptables.rules carol::iptables-restore < /etc/iptables.rules dave::iptables-restore < /etc/iptables.rules -alice::arp -d 10.1.0.30 -alice::arp -d 10.1.0.40 +alice::ip neigh del 10.1.0.30 dev eth0 +alice::ip neigh del 10.1.0.40 dev eth0 moon::systemctl start strongswan carol::systemctl start strongswan dave::systemctl start strongswan