selftests: fix netfilter path in Makefile
authorYujie Liu <yujie.liu@intel.com>
Tue, 16 Apr 2024 05:32:10 +0000 (13:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Apr 2024 09:48:09 +0000 (10:48 +0100)
Netfilter tests have been moved to a subdir under selftests/net by
patch series [1]. Fix the path in selftests/Makefile accordingly.

This helps fix the following error:

    tools/testing/selftests$ make
    ...
    make[1]: Entering directory 'tools/testing/selftests'
    make[1]: *** netfilter: No such file or directory.  Stop.
    make[1]: Leaving directory 'tools/testing/selftests'

[1] https://lore.kernel.org/all/20240411233624.8129-1-fw@strlen.de/

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Yujie Liu <yujie.liu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/Makefile

index 6dab886d6f7a54bde0c816f8f490820d9141d559..c785b6256a452acaf097578b2fe9c7306da1db40 100644 (file)
@@ -64,7 +64,7 @@ TARGETS += net/hsr
 TARGETS += net/mptcp
 TARGETS += net/openvswitch
 TARGETS += net/tcp_ao
-TARGETS += netfilter
+TARGETS += net/netfilter
 TARGETS += nsfs
 TARGETS += perf_events
 TARGETS += pidfd