feature/featuretags, ipn/conffile: make HuJSON support in config files optional

Saves 33 KB.

Updates #12614

Change-Id: Ie701c230e0765281f409f29ed263910b9be9cc77
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2025-09-30 12:46:43 -07:00
committed by Brad Fitzpatrick
parent 6c6a1d8341
commit f7afb9b6ca
9 changed files with 52 additions and 13 deletions
+8 -2
View File
@@ -253,13 +253,19 @@ func TestMinTailscaledNoCLI(t *testing.T) {
}
func TestMinTailscaledWithCLI(t *testing.T) {
badSubstrs := []string{
"cbor",
"hujson",
}
deptest.DepChecker{
GOOS: "linux",
GOARCH: "amd64",
Tags: minTags() + ",ts_include_cli",
OnDep: func(dep string) {
if strings.Contains(dep, "cbor") {
t.Errorf("unexpected dep: %q", dep)
for _, bad := range badSubstrs {
if strings.Contains(dep, bad) {
t.Errorf("unexpected dep: %q", dep)
}
}
},
}.Check(t)