OSDN Git Service

selftests: forwarding: lib: Move here vlan_capture_{, un}install()
authorPetr Machata <petrm@mellanox.com>
Thu, 31 May 2018 17:52:02 +0000 (19:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jun 2018 18:11:01 +0000 (14:11 -0400)
commit2004a9bcb8ff2ceeea722441d445cd6e0755c2c4
tree4dc0338454c8c8e20124e497336858e66c9c0f66
parentdb9d7d36eecc8926f03a8f2e46781887577b3353
selftests: forwarding: lib: Move here vlan_capture_{, un}install()

Move vlan_capture_install() and vlan_capture_uninstall() from
mirror_vlan.sh test to lib.sh so that it can be reused in other tests.

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_vlan.sh