]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Adjust vmtest.sh to use local kernel configuration
authorDaniel Müller <deso@posteo.net>
Wed, 27 Jul 2022 00:11:56 +0000 (00:11 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 27 Jul 2022 15:03:14 +0000 (17:03 +0200)
commitbc71a8a871f049bb1089e4fffc7de367c9409449
treea4c278d6c978ca939da2ed77e808f169795d83b2
parent88fe607828c4960a3cf9abfdaa779a0cbf90a0fe
selftests/bpf: Adjust vmtest.sh to use local kernel configuration

So far the vmtest.sh script, which can be used as a convenient way to
run bpf selftests, has obtained the kernel config safe to use for
testing from the libbpf/libbpf GitHub repository [0].

Given that we now have included this configuration into this very
repository, we can just consume it from here as well, eliminating the
necessity of remote accesses.

With this change we adjust the logic in the script to use the
configuration from below tools/testing/selftests/bpf/configs/ instead
of pulling it over the network.

  [0] https://github.com/libbpf/libbpf

Signed-off-by: Daniel Müller <deso@posteo.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Mykola Lysenko <mykolal@fb.com>
Link: https://lore.kernel.org/bpf/20220727001156.3553701-4-deso@posteo.net
tools/testing/selftests/bpf/vmtest.sh