You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ro...@apache.org on 2020/12/29 13:29:23 UTC

[buildstream] 07/08: tests/testutils/site.py: Removed HAVE_ROOT

This is an automated email from the ASF dual-hosted git repository.

root pushed a commit to branch early-logging
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 1feef7c08980a635d78942e202bc93ec1fadb20e
Author: Tristan Van Berkom <tr...@codethink.co.uk>
AuthorDate: Wed Dec 13 11:48:33 2017 -0500

    tests/testutils/site.py: Removed HAVE_ROOT
    
    There is no scenario worth testing where this condition is
    not true, removing this.
---
 tests/testutils/site.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/testutils/site.py b/tests/testutils/site.py
index 456f6ec..fb57c40 100644
--- a/tests/testutils/site.py
+++ b/tests/testutils/site.py
@@ -44,5 +44,3 @@ except ProgramNotFoundError:
     HAVE_LZIP = False
 
 IS_LINUX = os.getenv('BST_FORCE_BACKEND', sys.platform).startswith('linux')
-
-HAVE_ROOT = HAVE_BWRAP or os.geteuid() == 0