]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: Introduce $ARPING
authorPetr Machata <petrm@mellanox.com>
Mon, 30 Jul 2018 14:39:57 +0000 (16:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jul 2018 16:47:21 +0000 (09:47 -0700)
commit0a68cfee76c7c75307e900b6b0650ffde50c709f
treef85aeb3a82a7c0347279f0a0bce6290c50e59661
parent400215443539540c2e2e4d46cdf333e5129a4e67
selftests: forwarding: Introduce $ARPING

Instead of relying on "arping" being installed everywhere under that
name, introduce a variable $ARPING like the other tools do.

Convert an existing test, mirror_gre_vlan_bridge_1q.sh to
require_command $ARPING and then invoke arping through the variable.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/lib.sh
tools/testing/selftests/net/forwarding/mirror_gre_vlan_bridge_1q.sh