mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +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>
This commit is contained in:
parent
f1187cb696
commit
da7f7ba810
12 changed files with 22 additions and 6 deletions
|
@ -40,6 +40,7 @@ EOF
|
|||
cp simple.nix shell.nix simple.builder.sh "${config_nix}" "$flakeDir/"
|
||||
|
||||
TODO_NixOS
|
||||
requiresUnprivilegedUserNamespaces
|
||||
|
||||
outPath=$(nix build --print-out-paths --no-link --sandbox-paths '/nix? /bin? /lib? /lib64? /usr?' --store "$TEST_ROOT/x" path:"$flakeDir")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue