linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] selftests: bpf: install files tcp_(server|client)*.py
@ 2019-01-08  9:23 Anders Roxell
  2019-01-10 14:59 ` Daniel Borkmann
  0 siblings, 1 reply; 2+ messages in thread
From: Anders Roxell @ 2019-01-08  9:23 UTC (permalink / raw)
  To: ast, daniel; +Cc: netdev, linux-kernel, linux-kselftest, Anders Roxell

When test_tcpbpf_user runs it complains that it can't find files
tcp_server.py and tcp_client.py.

Rework so that tcp_server.py and tcp_client.py gets installed, added them
to the variable TEST_PROGS_EXTENDED.

Fixes: d6d4f60c3a09 ("bpf: add selftest for tcpbpf")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 tools/testing/selftests/bpf/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile
index 73aa6d8f4a2f..70229de510f5 100644
--- a/tools/testing/selftests/bpf/Makefile
+++ b/tools/testing/selftests/bpf/Makefile
@@ -55,7 +55,9 @@ TEST_PROGS := test_kmod.sh \
 	test_flow_dissector.sh \
 	test_xdp_vlan.sh
 
-TEST_PROGS_EXTENDED := with_addr.sh
+TEST_PROGS_EXTENDED := with_addr.sh \
+	tcp_client.py \
+	tcp_server.py
 
 # Compile but not part of 'make run_tests'
 TEST_GEN_PROGS_EXTENDED = test_libbpf_open test_sock_addr test_skb_cgroup_id_user \
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] selftests: bpf: install files tcp_(server|client)*.py
  2019-01-08  9:23 [PATCH] selftests: bpf: install files tcp_(server|client)*.py Anders Roxell
@ 2019-01-10 14:59 ` Daniel Borkmann
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Borkmann @ 2019-01-10 14:59 UTC (permalink / raw)
  To: Anders Roxell, ast; +Cc: netdev, linux-kernel, linux-kselftest

On 01/08/2019 10:23 AM, Anders Roxell wrote:
> When test_tcpbpf_user runs it complains that it can't find files
> tcp_server.py and tcp_client.py.
> 
> Rework so that tcp_server.py and tcp_client.py gets installed, added them
> to the variable TEST_PROGS_EXTENDED.
> 
> Fixes: d6d4f60c3a09 ("bpf: add selftest for tcpbpf")
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

Applied to bpf, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-10 14:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-08  9:23 [PATCH] selftests: bpf: install files tcp_(server|client)*.py Anders Roxell
2019-01-10 14:59 ` Daniel Borkmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).