Hello,
This issue was spotted on Ubuntu linux-kvm kernel, on which the
CONFIG_KALLSYMS was disabled intentionally.
I think this extra check could be helpful when running the net test directly.
$ make -C tools/testing/selftests TARGETS=net run_tests
Also, there is an identical check implemented in
From: Po-Hsu Lin
Date: Wed, 12 Jun 2019 14:47:52 +0800
> The psock_tpacket test will need to access /proc/kallsyms, this would
> require the kernel config CONFIG_KALLSYMS to be enabled first.
>
> Check the file existence to determine if we can run this test.
>
> Signed-off-by: Po-Hsu Lin
Plea
The psock_tpacket test will need to access /proc/kallsyms, this would
require the kernel config CONFIG_KALLSYMS to be enabled first.
Check the file existence to determine if we can run this test.
Signed-off-by: Po-Hsu Lin
---
tools/testing/selftests/net/run_afpackettests | 14 +-
1
3 matches
Mail list logo