]> git.ipfire.org Git - people/ms/network.git/commitdiff
test: Run networkd as root in its own namespace
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Jun 2023 09:27:51 +0000 (09:27 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Jun 2023 09:27:51 +0000 (09:27 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am

index fe1e4d1fe719c0c293c6694046e324e320e9c4f3..08e04a1fca264263722b5fb0723f0412c22b1552 100644 (file)
@@ -720,7 +720,7 @@ EXTRA_DIST += \
 
 # Run all networkd tests in their own namespaces
 T_LOG_COMPILER = unshare --net --ipc --uts --user --cgroup --time --pid --fork \
-       $(SHELL) test/networkd/test.sh
+       --map-root-user --keep-caps $(SHELL) test/networkd/test.sh
 
 # - NITSI tests ----------------------------------------------------------------