Skip to contentSkip to conversation

selftests: bpf: install files tcp_(server|client)*.py

PATCH Applied Anders Roxell 2 participants 2 messages Jan 8, 2019 – Jan 10, 2019

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests: bpf: install files tcp_(server|client)*.py

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 at linaro.org>
---
 tools/testing/selftests/bpf/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
tools/testing/selftests/bpf/Makefile +3 -1
index 73aa6d8f4a2f..70229de510f5 100644
@@ -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 \
Signature · 1 line
2.20.1
maintainer Applied
#1 lore raw
Quoted 8 lines · 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 at linaro.org>

Applied to bpf, thanks!