]> 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)
commit6f5eb584d1c6487202ad603b6d91e524f7bfd7bc
treef85aeb3a82a7c0347279f0a0bce6290c50e59661
parentb20c844722a72d9a70fccb87daf09199b3432e2a
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