You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util/syspolicy
Brad Fitzpatrick 46369f06af util/syspolicy/policyclient: always use no-op policyclient in tests by default
We should never use the real syspolicy implementation in tests by
default. (the machine's configuration shouldn't affect tests)

You either specify a test policy, or you get a no-op one.

Updates #16998

Change-Id: I3350d392aad11573a5ad7caab919bb3bbaecb225
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 months ago
..
internal util/syspolicy/*: move syspolicy keys to new const leaf "pkey" package 3 months ago
pkey util/syspolicy/*: move syspolicy keys to new const leaf "pkey" package 3 months ago
policyclient util/syspolicy/policyclient: always use no-op policyclient in tests by default 3 months ago
policytest ipn/ipnlocal, util/syspolicy: convert last RegisterWellKnownSettingsForTest caller, remove 3 months ago
ptype util/syspolicy/{setting,ptype}: move PreferenceOption and Visibility to new leaf package 3 months ago
rsop util/syspolicy/{setting,ptype}: move PreferenceOption and Visibility to new leaf package 3 months ago
setting util/syspolicy/{setting,ptype}: move PreferenceOption and Visibility to new leaf package 3 months ago
source util/syspolicy/{setting,ptype}: move PreferenceOption and Visibility to new leaf package 3 months ago
policy_keys.go ipn/ipnlocal, util/syspolicy: convert last RegisterWellKnownSettingsForTest caller, remove 3 months ago
policy_keys_test.go util/syspolicy: remove handler, other dead code 3 months ago
syspolicy.go ipn/ipnlocal, util/syspolicy: convert last RegisterWellKnownSettingsForTest caller, remove 3 months ago
syspolicy_test.go ipn/ipnlocal, util/syspolicy: convert last RegisterWellKnownSettingsForTest caller, remove 3 months ago
syspolicy_windows.go all: unify some redundant testing.TB interface copies 8 months ago