Re: [PATCH] selftests/net: skip psock_tpacket test if KALLSYMS was not enabled

2019-06-13 Thread Po-Hsu Lin
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

Re: [PATCH] selftests/net: skip psock_tpacket test if KALLSYMS was not enabled

2019-06-12 Thread David Miller
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

[PATCH] selftests/net: skip psock_tpacket test if KALLSYMS was not enabled

2019-06-11 Thread Po-Hsu Lin
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