From: Petr Machata Date: Tue, 26 Mar 2024 16:54:31 +0000 (+0100) Subject: selftests: forwarding: ipip_lib: Do not import lib.sh X-Git-Tag: v6.10-rc1~153^2~430^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0faa565bc4a708f4a81abfb6a4426c56609cfd2b;p=thirdparty%2Fkernel%2Flinux.git selftests: forwarding: ipip_lib: Do not import lib.sh This library is always sourced in the context where lib.sh has already been sourced as well. Therefore drop the explicit sourcing and expect the client to already have done it. This will simplify moving some of the clients to a different directory. Signed-off-by: Petr Machata Link: https://lore.kernel.org/r/a4da5e9cd42a34cbace917a048ca71081719d6ac.1711464583.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski --- diff --git a/tools/testing/selftests/net/forwarding/ipip_lib.sh b/tools/testing/selftests/net/forwarding/ipip_lib.sh index 30f36a57bae6c..01e62c4ac94dd 100644 --- a/tools/testing/selftests/net/forwarding/ipip_lib.sh +++ b/tools/testing/selftests/net/forwarding/ipip_lib.sh @@ -141,7 +141,6 @@ # | $h2 + | # | 192.0.2.18/28 | # +---------------------------+ -source lib.sh h1_create() {