]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests: forwarding: lib: extract ping and ping6 so they can be reused
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 3 Jul 2018 12:42:43 +0000 (15:42 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jul 2018 12:40:02 +0000 (21:40 +0900)
commit967450c54300fd858b24e044ee960a1133c916a4
treefe62161f3919ec9026400e402619a9d34282df7a
parentf744c4bb5ca59289616c7d583dae6d28268f5486
selftests: forwarding: lib: extract ping and ping6 so they can be reused

Extract ping and ping6 command execution so the return value can be
checked by the caller, this is needed for port isolation tests that are
intended to fail.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/lib.sh