aboutsummaryrefslogtreecommitdiff
path: root/tests/common/vars-and-functions.sh.in
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-07-13 15:06:34 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-07-13 15:06:34 -0400
commit9e64f243406ff2b3fbe06adbc762cf965e6825a8 (patch)
treecc72f13a030f9d87c4f67aeb6a92d7c8a18646d1 /tests/common/vars-and-functions.sh.in
parentddc0a2050b292db4687027401d031d90c2b2cf56 (diff)
Revert "Check _NIX_TEST_NO_SANDBOX when setting _canUseSandbox."
This reverts commit c1d39de1fbceebbb6b46abc4a21fb8e34423df99.
Diffstat (limited to 'tests/common/vars-and-functions.sh.in')
-rw-r--r--tests/common/vars-and-functions.sh.in2
1 files changed, 1 insertions, 1 deletions
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