projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove access checks in tests under root
[tinc]
/
test
/
integration
/
testlib
/
const.py
diff --git
a/test/integration/testlib/const.py
b/test/integration/testlib/const.py
index
36f5f97
..
b15e703
100755
(executable)
--- a/
test/integration/testlib/const.py
+++ b/
test/integration/testlib/const.py
@@
-7,3
+7,6
@@
EXIT_SKIP = 77
# Family name for multiprocessing Listener/Connection
MPC_FAMILY = "AF_PIPE" if os.name == "nt" else "AF_UNIX"
# Family name for multiprocessing Listener/Connection
MPC_FAMILY = "AF_PIPE" if os.name == "nt" else "AF_UNIX"
+
+# Do access checks on files. Disabled when not available or not applicable.
+RUN_ACCESS_CHECKS = os.name != "nt" and os.geteuid() != 0