1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 06:01:48 +02:00

functional-tests: skip tests if the kernel restricts unprivileged user namespaces

Update tests/functional/common/functions.sh

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
(cherry picked from commit da7f7ba810)
This commit is contained in:
Jörg Thalheim 2024-12-14 12:55:45 +01:00 committed by Mergify
parent 85a4f62400
commit 4e990b0bcb
12 changed files with 22 additions and 6 deletions

View file

@ -52,6 +52,7 @@ if isDaemonNewer "2.20.0pre20231220"; then
fi
requireSandboxSupport
requiresUnprivilegedUserNamespaces
chmod -R u+w "$TEST_ROOT/store0" || true
rm -rf "$TEST_ROOT/store0"