Skip to content

Commit 9faedd6

Browse files
roxelldavem330
authored andcommitted
selftests: net: add in_netns.sh TEST_GEN_PROGS_EXTENDED
Script in_netns.sh is a utility function and not its own test so it shouldn't be part of the TEST_PROGS. The in_netns.sh get used by run_afpackettests. To install in_netns.sh without being added to the main run_kselftest.sh script use the TEST_GEN_PROGS_EXTENDED variable. Fixes: 5ff9c1a ("selftests: net: add in_netns.sh to TEST_PROGS") Signed-off-by: Anders Roxell <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 16ae6aa commit 9faedd6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/testing/selftests/net/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ CFLAGS = -Wall -Wl,--no-as-needed -O2 -g
55
CFLAGS += -I../../../../usr/include/
66

77
TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh rtnetlink.sh
8-
TEST_PROGS += fib_tests.sh fib-onlink-tests.sh in_netns.sh pmtu.sh
8+
TEST_PROGS += fib_tests.sh fib-onlink-tests.sh pmtu.sh
9+
TEST_GEN_PROGS_EXTENDED := in_netns.sh
910
TEST_GEN_FILES = socket
1011
TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy
1112
TEST_GEN_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa

0 commit comments

Comments
 (0)