65a66a0a148945943a59458f3525336f40af2f11
[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
13
14 # Copy of the same define from net.h
15 MAXSOCKETS = 8