[B][SRU][PATCH 2/4] selftests: net: use TEST_PROGS_EXTENDED
Po-Hsu Lin
po-hsu.lin at canonical.com
Wed Jul 7 11:47:28 UTC 2021
From: Anders Roxell <anders.roxell at linaro.org>
BugLink: https://bugs.launchpad.net/bugs/1934759
When a script file that isn't generated uses the variable
TEST_GEN_PROGS_EXTENDED and a 'make -C tools/testing/selftests clean' is
performed the script file gets removed and git shows the file as
deleted. For script files that isn't generated TEST_PROGS_EXTENDED
should be used.
Fixes: 9faedd643fd9 ("selftests: net: add in_netns.sh TEST_GEN_PROGS_EXTENDED")
Signed-off-by: Anders Roxell <anders.roxell at linaro.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
(backported from commit 1751eb42ddb56b1e0a28ade5c5f19b7961a6f0c2)
[PHLin: ignore fib_tests.sh and pmtu.sh]
Signed-off-by: Po-Hsu Lin <po-hsu.lin at canonical.com>
---
tools/testing/selftests/net/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile
index 92c3b41..66e48dd 100644
--- a/tools/testing/selftests/net/Makefile
+++ b/tools/testing/selftests/net/Makefile
@@ -6,6 +6,7 @@ CFLAGS += -I../../../../usr/include/
TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh rtnetlink.sh
TEST_PROGS += fib-onlink-tests.sh
+TEST_PROGS_EXTENDED := in_netns.sh
TEST_GEN_FILES = socket
TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy
TEST_GEN_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa
--
2.7.4
More information about the kernel-team
mailing list