]> git.baikalelectronics.ru Git - kernel.git/commitdiff
selftests: bpf: install files tcp_(server|client)*.py
authorAnders Roxell <anders.roxell@linaro.org>
Tue, 8 Jan 2019 09:23:03 +0000 (10:23 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 10 Jan 2019 14:56:52 +0000 (15:56 +0100)
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: f692bd6d330a ("bpf: add selftest for tcpbpf")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/Makefile

index 73aa6d8f4a2f8717493641411b77f5e3900346e4..70229de510f58dbeb186c9609375985e30b817b9 100644 (file)
@@ -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 \