]> git.baikalelectronics.ru Git - kernel.git/commitdiff
kselftests/net: add missed setup_loopback.sh/setup_veth.sh to Makefile
authorHangbin Liu <liuhangbin@gmail.com>
Wed, 3 Nov 2021 02:44:56 +0000 (10:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Nov 2021 11:07:02 +0000 (11:07 +0000)
When generating the selftests to another folder, the include file
setup_loopback.sh/setup_veth.sh for gro.sh/gre_gro.sh are missing as
they are not in Makefile, e.g.

  make -C tools/testing/selftests/ install \
      TARGETS="net" INSTALL_PATH=/tmp/kselftests

Fixes: 3f52169c8f70 ("selftests/net: GRO coalesce test")
Fixes: 43de96217ee8 ("selftests/net: allow GRO coalesce test on veth")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/Makefile

index 7b079b01aa1b92f8cc30dcd1c474b76955b7fe8e..8c3d0709b87077b984b95f3d4cd0ce54c442c7bb 100644 (file)
@@ -30,7 +30,7 @@ TEST_PROGS += ioam6.sh
 TEST_PROGS += gro.sh
 TEST_PROGS += gre_gso.sh
 TEST_PROGS += cmsg_so_mark.sh
-TEST_PROGS_EXTENDED := in_netns.sh
+TEST_PROGS_EXTENDED := in_netns.sh setup_loopback.sh setup_veth.sh
 TEST_GEN_FILES =  socket nettest
 TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy reuseport_addr_any
 TEST_GEN_FILES += tcp_mmap tcp_inq psock_snd txring_overwrite