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)
commit40b09653b1977c9630f24c9ca17322d5b38f1ca5
treea4c278d6c978ca939da2ed77e808f169795d83b2
parentcbd620fc18cad51500c46e222328ca60adaa4644
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