From 9e64f243406ff2b3fbe06adbc762cf965e6825a8 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Thu, 13 Jul 2023 15:06:34 -0400 Subject: [PATCH] Revert "Check _NIX_TEST_NO_SANDBOX when setting _canUseSandbox." This reverts commit c1d39de1fbceebbb6b46abc4a21fb8e34423df99. --- 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