selftests: bpf: install script with_addr.sh
Subsystems (5)
PATCH 1/1 selftests: bpf: install script with_addr.sh
When test_flow_dissector.sh runs it complains that it can't find script with_addr.sh:
./test_flow_dissector.sh: line 81: ./with_addr.sh: No such file or directory
Rework so that with_addr.sh gets installed, add it to TEST_PROGS_EXTENDED variable.
--- tools/testing/selftests/bpf/Makefile | 2 ++ 1 file changed, 2 insertions(+)
tools/testing/selftests/bpf/Makefile +2 -0
@@ -51,6 +51,8 @@ TEST_PROGS := test_kmod.sh \ test_skb_cgroup_id.sh \ test_flow_dissector.sh +TEST_PROGS_EXTENDED := with_addr.sh + # Compile but not part of 'make run_tests' TEST_GEN_PROGS_EXTENDED = test_libbpf_open test_sock_addr test_skb_cgroup_id_user \ flow_dissector_load test_flow_dissector
Signature · 1 line
2.19.1
Quoted 4 lines · Anders Roxell
When
test_flow_dissector.shruns it complains that it can't find scriptwith_addr.sh:
Quoted 8 lines
./test_flow_dissector.sh: line 81: ./with_addr.sh: No such file or directory
Rework so that
with_addr.shgets installed, add it toTEST_PROGS_EXTENDEDvariable.Fixes 50b3ed57dee9 ("selftests/bpf: test bpf flow dissection")Signed-off-by Anders Roxell <anders.roxell at linaro.org>
Quoted 20 lines
--- tools/testing/selftests/bpf/Makefile | 2 ++ 1 file changed, 2 insertions(+)tools/testing/selftests/bpf/Makefile +2
-1@@ -51,6 +51,8 @@ TEST_PROGS := test_kmod.sh \ test_skb_cgroup_id.sh \ test_flow_dissector.sh +TEST_PROGS_EXTENDED := with_addr.sh + # Compile but not part of 'make run_tests' TEST_GEN_PROGS_EXTENDED = test_libbpf_open test_sock_addr test_skb_cgroup_id_user \ flow_dissector_load test_flow_dissector --2.19.1
Quoted 11 lines · Anders Roxell
When
test_flow_dissector.shruns it complains that it can't find scriptwith_addr.sh:./test_flow_dissector.sh: line 81: ./with_addr.sh: No such file or directory
Rework so that
with_addr.shgets installed, add it toTEST_PROGS_EXTENDEDvariable.Fixes 50b3ed57dee9 ("selftests/bpf: test bpf flow dissection")Signed-off-by Anders Roxell <anders.roxell at linaro.org>
Applied to bpf-next, thanks Anders!