b15e7034441217b29ff6e89c8578b08d9dbb7e92
[tinc] / test / integration / testlib / const.py
1 """Some hardcoded constants."""
2
3 import os
4
5 # Exit code to skip current test
6 EXIT_SKIP = 77
7
8 # Family name for multiprocessing Listener/Connection
9 MPC_FAMILY = "AF_PIPE" if os.name == "nt" else "AF_UNIX"
10
11 # Do access checks on files. Disabled when not available or not applicable.
12 RUN_ACCESS_CHECKS = os.name != "nt" and os.geteuid() != 0