[PATCH] selftests: add namespaces to TARGETS

From: Sasha Levin

Date: Thu Nov 05 2026 - 20:54:10 EST


The namespaces tests are not in TARGETS, so "make kselftest" and the CI
systems that use the top-level Makefile never build or run them. Add
them.

Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
---
Tested on vfs-7.5.misc with gcc 16 and clang 21 on x86_64: all 13
tests pass in a VM with the namespaces config fragment, and they also
build for i386 and arm64.

tools/testing/selftests/Makefile | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile
index 07c3719f8b04b..f8fb771d3b0e8 100644
--- a/tools/testing/selftests/Makefile
+++ b/tools/testing/selftests/Makefile
@@ -85,6 +85,7 @@ TARGETS += mount_setattr
TARGETS += move_mount_set_group
TARGETS += mqueue
TARGETS += mseal_system_mappings
+TARGETS += namespaces
TARGETS += nci
TARGETS += net
TARGETS += net/af_unix

base-commit: 8f92edb375bc5b54b211686231d489912a91b32a
--
2.53.0