Skip to contentSkip to conversation

selftests: bpf: install script with_addr.sh

PATCH Applied Anders Roxell 3 participants 3 messages Oct 10, 2018 – Oct 11, 2018

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

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.

Fixes 50b3ed57dee9 ("selftests/bpf: test bpf flow dissection")
Signed-off-by Anders Roxell <anders.roxell at linaro.org>
---
 tools/testing/selftests/bpf/Makefile | 2 ++
 1 file changed, 2 insertions(+)
tools/testing/selftests/bpf/Makefile +2 -0
index 1381ab81099c..efd108ff737d 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Anders Roxell

When test_flow_dissector.sh runs it complains that it can't find script with_addr.sh:

Quoted 8 lines

./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.

Fixes 50b3ed57dee9 ("selftests/bpf: test bpf flow dissection")
Signed-off-by Anders Roxell <anders.roxell at linaro.org>
Acked-by Song Liu <songliubraving at fb.com>
Quoted 20 lines
---
 tools/testing/selftests/bpf/Makefile | 2 ++
 1 file changed, 2 insertions(+)
tools/testing/selftests/bpf/Makefile +2 -1
index 1381ab81099c..efd108ff737d 100644
@@ -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

maintainer Applied
#2 lore raw
In reply to Anders Roxell
Quoted 11 lines · Anders Roxell

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.

Fixes 50b3ed57dee9 ("selftests/bpf: test bpf flow dissection")
Signed-off-by Anders Roxell <anders.roxell at linaro.org>

Applied to bpf-next, thanks Anders!