1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41: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>
Co-authored-by: bryango <bryango@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
parent e0c8b0fc4f
commit ada649ad7f
12 changed files with 22 additions and 6 deletions

View file

@ -16,6 +16,7 @@ goodStoreUrl () {
# whether this test is being run in a derivation as part of the nix build or
# being manually run by a developer outside a derivation
runNixBuild () {
local storeFun=$1
local altitude=$2
nix-build \