From 88ddf4240efad132f1cdce27049e2a908fd0331e Mon Sep 17 00:00:00 2001 From: Viktor Liu Date: Thu, 20 Aug 2026 16:39:55 +0200 Subject: [PATCH] Use the wheel group in the root-group lookup test on BSDs --- client/internal/getent/unix_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/internal/getent/unix_test.go b/client/internal/getent/unix_test.go index d7215c4a4..5ab100ce5 100644 --- a/client/internal/getent/unix_test.go +++ b/client/internal/getent/unix_test.go @@ -253,7 +253,8 @@ func TestGroupMembersFromFileUnknownGroup(t *testing.T) { // answers for it. func TestGroupMembers_RootGroup(t *testing.T) { rootGroup := "root" - if runtime.GOOS == "darwin" { + switch runtime.GOOS { + case "darwin", "dragonfly", "freebsd", "netbsd", "openbsd": rootGroup = "wheel" }