]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitca70a5623823841c179cf792b549d63b5fbe32ab
treef85aeb3a82a7c0347279f0a0bce6290c50e59661
parent9d9e6bde3df4ec6af0cc7dac328f8d8555aa36f9
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