selftests: forwarding: mirror_gre_changes: Fix waiting for neighbor
authorPetr Machata <petrm@mellanox.com>
Thu, 28 Jun 2018 16:56:39 +0000 (18:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 11:34:09 +0000 (20:34 +0900)
commit4e74cc7c5d3f58cb0e2534cd68716c5746d52d07
treece9cf2d62b46c3edcde81151e4e2db0ad3e155a0
parentec9fdc99f5a6a2cfe4061e807fcb0cc1129f0a2d
selftests: forwarding: mirror_gre_changes: Fix waiting for neighbor

When running the test on soft devices, there's no mechanism to
gratuitously start resolving the neighbor for remote tunnel endpoint.
So instead of passively waiting, wait for the device to be up, and then
probe the neighbor with a ping.

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