mirror of
https://github.com/NixOS/nix
synced 2025-07-18 11:18:27 +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:
parent
85a4f62400
commit
4e990b0bcb
12 changed files with 22 additions and 6 deletions
|
@ -9,7 +9,7 @@ needLocalStore "The test uses --store always so we would just be bypassing the d
|
|||
|
||||
TODO_NixOS
|
||||
|
||||
unshare --mount --map-root-user -- bash -e -x <<EOF
|
||||
execUnshare <<EOF
|
||||
source common.sh
|
||||
|
||||
# Avoid store dir being inside sandbox build-dir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue