Skip to contentSkip to conversation

selftests: bpf: install files test_xdp_vlan.sh

PATCH Applied Anders Roxell 3 participants 3 messages Aug 20, 2019 – Aug 21, 2019

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

PATCH 1/1 selftests: bpf: install files test_xdp_vlan.sh

When ./test_xdp_vlan_mode_generic.sh runs it complains that it can't find file test_xdp_vlan.sh.

# selftests: bpf: test_xdp_vlan_mode_generic.sh
# ./test_xdp_vlan_mode_generic.sh: line 9: ./test_xdp_vlan.sh: No such file or directory

Rework so that test_xdp_vlan.sh gets installed, added to the variable TEST_PROGS_EXTENDED.

Fixes d35661fcf95d ("selftests/bpf: add wrapper scripts for test_xdp_vlan.sh")
---
 tools/testing/selftests/bpf/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tools/testing/selftests/bpf/Makefile +2 -1
index 1faad0c3c3c9..d7968e20463c 100644
@@ -68,7 +68,8 @@ TEST_PROGS := test_kmod.sh \
 TEST_PROGS_EXTENDED := with_addr.sh \
 	with_tunnels.sh \
 	tcp_client.py \
-	tcp_server.py
+	tcp_server.py \
+	test_xdp_vlan.sh
 
 # 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
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · On Tue, 20 Aug 2019 15:41:21 +0200 Anders Roxell <[email protected]>…

When ./test_xdp_vlan_mode_generic.sh runs it complains that it can't find file test_xdp_vlan.sh.

# selftests: bpf: test_xdp_vlan_mode_generic.sh
# ./test_xdp_vlan_mode_generic.sh: line 9: ./test_xdp_vlan.sh: No such file or directory

Quoted 6 lines

Rework so that test_xdp_vlan.sh gets installed, added to the variable TEST_PROGS_EXTENDED.

Fixes d35661fcf95d ("selftests/bpf: add wrapper scripts for test_xdp_vlan.sh")

---

Thanks for catching this!

Quoted 17 lines
 tools/testing/selftests/bpf/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tools/testing/selftests/bpf/Makefile +2 -1
index 1faad0c3c3c9..d7968e20463c 100644
@@ -68,7 +68,8 @@ TEST_PROGS := test_kmod.sh \
 TEST_PROGS_EXTENDED := with_addr.sh \
 	with_tunnels.sh \
 	tcp_client.py \
-	tcp_server.py
+	tcp_server.py \
+	test_xdp_vlan.sh
 
 # Compile but not part of 'make run_tests'
 TEST_GEN_PROGS_EXTENDED = test_libbpf_open test_sock_addr test_skb_cgroup_id_user \
Signature · 4 lines
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer
maintainer Applied
#2 lore raw
In reply to Anders Roxell
Quoted 7 lines · Anders Roxell

When ./test_xdp_vlan_mode_generic.sh runs it complains that it can't find file test_xdp_vlan.sh.

# selftests: bpf: test_xdp_vlan_mode_generic.sh
# ./test_xdp_vlan_mode_generic.sh: line 9: ./test_xdp_vlan.sh: No such file or directory

Quoted 5 lines

Rework so that test_xdp_vlan.sh gets installed, added to the variable TEST_PROGS_EXTENDED.

Fixes d35661fcf95d ("selftests/bpf: add wrapper scripts for test_xdp_vlan.sh")

Applied, thanks!