selftests: forwarding: Move multipath_eval() to lib.sh
authorPetr Machata <[email protected]>
Tue, 26 Jun 2018 00:06:06 +0000 (02:06 +0200)
committerDavid S. Miller <[email protected]>
Wed, 27 Jun 2018 01:42:12 +0000 (10:42 +0900)
commitb2c478723c7f8fa78d4fbdb9d7de4191249b92e0
treecb21c80737080ae2e66c834634725f6fe4b81b2f
parent3463e51dc337ddd6e608fd595130398e9c60680f
selftests: forwarding: Move multipath_eval() to lib.sh

This function will be useful for the GRE multipath test that is coming
later.

Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
tools/testing/selftests/net/forwarding/lib.sh
tools/testing/selftests/net/forwarding/router_multipath.sh