mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-12 00:19:08 +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.
|
// answers for it.
|
||||||
func TestGroupMembers_RootGroup(t *testing.T) {
|
func TestGroupMembers_RootGroup(t *testing.T) {
|
||||||
rootGroup := "root"
|
rootGroup := "root"
|
||||||
if runtime.GOOS == "darwin" {
|
switch runtime.GOOS {
|
||||||
|
case "darwin", "dragonfly", "freebsd", "netbsd", "openbsd":
|
||||||
rootGroup = "wheel"
|
rootGroup = "wheel"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user