selftests: bpf: install script with_addr.sh
authorAnders Roxell <anders.roxell@linaro.org>
Wed, 10 Oct 2018 14:27:04 +0000 (16:27 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 11 Oct 2018 08:35:45 +0000 (10:35 +0200)
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@linaro.org>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/Makefile

index d24afe8..d99dd6f 100644 (file)
@@ -53,6 +53,8 @@ TEST_PROGS := test_kmod.sh \
        test_flow_dissector.sh \
        test_xdp_vlan.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