]> tinc-vpn.org Git - tinc/blobdiff - test/integration/testlib/const.py
Remove access checks in tests under root
[tinc] / test / integration / testlib / const.py
index 36f5f9777261eb502ba419f440b10dc282a5f510..b15e7034441217b29ff6e89c8578b08d9dbb7e92 100755 (executable)
@@ -7,3 +7,6 @@ EXIT_SKIP = 77
 
 # 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