From 37598a13e877980d4654c632d10921c41c9ad976 Mon Sep 17 00:00:00 2001 From: Ben Radford Date: Tue, 18 Jul 2023 09:26:48 +0100 Subject: [PATCH] Revert "Check _NIX_TEST_NO_SANDBOX when setting _canUseSandbox." This reverts commit 7ed0ab2dabececd84578ddf70ecad0e528d67a28. --- tests/common/vars-and-functions.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common/vars-and-functions.sh.in b/tests/common/vars-and-functions.sh.in index ad0623871..dc7ce13cc 100644 --- a/tests/common/vars-and-functions.sh.in +++ b/tests/common/vars-and-functions.sh.in @@ -141,7 +141,7 @@ restartDaemon() { startDaemon } -if [[ -z "${_NIX_TEST_NO_SANDBOX:-}" ]] && [[ $(uname) == Linux ]] && [[ -L /proc/self/ns/user ]] && unshare --user true; then +if [[ $(uname) == Linux ]] && [[ -L /proc/self/ns/user ]] && unshare --user true; then _canUseSandbox=1 fi