selftests: forwarding: ping{6, }_do(): Allow passing ping arguments
authorPetr Machata <petrm@mellanox.com>
Mon, 19 Nov 2018 16:11:12 +0000 (16:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 01:59:43 +0000 (17:59 -0800)
commitd20b0f214aa74a3f6b28b8d522f273e1fd2abea3
tree404edddb925340f26ce219a8841fbd33715858df
parent58c7a2d19e90a6ec3fbe6cd0c6b1025b731bc000
selftests: forwarding: ping{6, }_do(): Allow passing ping arguments

Make the ping routine more generic by allowing passing arbitrary ping
command-line arguments.

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