Drop the now-dead novox/hq strip in mounts's, nfs-server's, sensors's and zfs's manifest checks (issue 1838)

This commit is contained in:
jochen
2026-10-22 22:26:30 +02:00
parent 7220cbc787
commit 212c8e4f52
4 changed files with 4 additions and 6 deletions
@@ -99,7 +99,7 @@ func TestItListensOnTwoThousandFortyNineFromTheMeshOnlyAndProvidesTheShare(t *te
func TestTheDefinitionNamesNoFolderNoMachineAndGivesTheSharesNoDefault(t *testing.T) {
m, raw := readManifest(t)
// 1838/AC1: the catalogue-wide check covers a node's name now; this list keeps what it does not.
if hit := regexp.MustCompile(`\bjochen\b|/home/|/storage|/srv/`).FindString(strings.ReplaceAll(raw, "novox/hq", "")); hit != "" {
if hit := regexp.MustCompile(`\bjochen\b|/home/|/storage|/srv/`).FindString(raw); hit != "" {
t.Errorf("the manifest says %q", hit)
}
if s := m.Config["shares"]; s["required"] != true || s["default"] != nil || s["type"] != "string" {