mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-24 16:41:30 +02:00
Use the wheel group in the root-group lookup test on BSDs
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user