selftests: fib_tests: Move admin of dummy0 to helpers
authorDavid Ahern <dsahern@gmail.com>
Tue, 13 Feb 2018 16:37:35 +0000 (08:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Feb 2018 19:34:28 +0000 (14:34 -0500)
commitee395a5e722c8c7e85641c3017de8f64209ff04f
treea78a830531f5c22b134748c28bada0ddec01350f
parent1056691b26809e838da67bc2a61761017d20cfda
selftests: fib_tests: Move admin of dummy0 to helpers

Move setup and teardown of testns and dummy0 to helpers.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fib_tests.sh