diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-07-13 15:06:34 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-07-13 15:06:34 -0400 |
commit | 9e64f243406ff2b3fbe06adbc762cf965e6825a8 (patch) | |
tree | cc72f13a030f9d87c4f67aeb6a92d7c8a18646d1 /tests/common/vars-and-functions.sh.in | |
parent | ddc0a2050b292db4687027401d031d90c2b2cf56 (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.in | 2 |
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 |