提交 6c4e777f 编写于 作者: D Daniel Müller 提交者: Daniel Borkmann

bpf/docs: Update README for most recent vmtest.sh

Since commit 40b09653 ("selftests/bpf: Adjust vmtest.sh to use local
kernel configuration") the vmtest.sh script no longer downloads a kernel
configuration but uses the local, in-repository one.
This change updates the README, which still mentions the old behavior.
Signed-off-by: NDaniel Müller <deso@posteo.net>
Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20221017232458.1272762-1-deso@posteo.net
上级 79d878f7
...@@ -14,10 +14,11 @@ It's now possible to run the selftests using ``tools/testing/selftests/bpf/vmtes ...@@ -14,10 +14,11 @@ It's now possible to run the selftests using ``tools/testing/selftests/bpf/vmtes
The script tries to ensure that the tests are run with the same environment as they The script tries to ensure that the tests are run with the same environment as they
would be run post-submit in the CI used by the Maintainers. would be run post-submit in the CI used by the Maintainers.
This script downloads a suitable Kconfig and VM userspace image from the system used by This script uses the in-tree kernel configuration and downloads a VM userspace
the CI. It builds the kernel (without overwriting your existing Kconfig), recompiles the image from the system used by the CI. It builds the kernel (without overwriting
bpf selftests, runs them (by default ``tools/testing/selftests/bpf/test_progs``) and your existing Kconfig), recompiles the bpf selftests, runs them (by default
saves the resulting output (by default in ``~/.bpf_selftests``). ``tools/testing/selftests/bpf/test_progs``) and saves the resulting output (by
default in ``~/.bpf_selftests``).
Script dependencies: Script dependencies:
- clang (preferably built from sources, https://github.com/llvm/llvm-project); - clang (preferably built from sources, https://github.com/llvm/llvm-project);
...@@ -26,7 +27,7 @@ Script dependencies: ...@@ -26,7 +27,7 @@ Script dependencies:
- docutils (for ``rst2man``); - docutils (for ``rst2man``);
- libcap-devel. - libcap-devel.
For more information on about using the script, run: For more information about using the script, run:
.. code-block:: console .. code-block:: console
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册