mirror of
https://github.com/NixOS/nix
synced 2025-07-08 15:13:55 +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
|
@ -94,10 +94,6 @@ initLowerStore () {
|
|||
pathInLowerStore=$(nix-store --store "$storeA" --realise $drvPath)
|
||||
}
|
||||
|
||||
execUnshare () {
|
||||
exec unshare --mount --map-root-user "$SHELL" "$@"
|
||||
}
|
||||
|
||||
addTextToStore() {
|
||||
storeDir=$1; shift
|
||||
filename=$1; shift
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue