]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests: forwarding: Allow lib.sh sourcing from other directories
authorYuval Mintz <yuvalm@mellanox.com>
Sat, 30 Jun 2018 00:45:19 +0000 (02:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 13:06:15 +0000 (22:06 +0900)
commit87d8fb18cbe919342a1909a1e4168c9a63b9bbbf
tree36ff604c720291bda8e2615886c15c5fffebf5b8
parenta847726159c618966a01d128ce5c7f94a2768948
selftests: forwarding: Allow lib.sh sourcing from other directories

The devlink related scripts are mlxsw-specific. As a result, they'll
reside in a different directory - but would still need the common logic
implemented in lib.sh.
So as a preliminary step, allow lib.sh to be sourced from other
directories as well.

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