]> Cypherpunks repositories - gostls13.git/commit
os/user: allow LookupGroupId to fail during test
authorRuss Cox <rsc@golang.org>
Mon, 14 Mar 2016 01:34:46 +0000 (21:34 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 15 Mar 2016 16:25:40 +0000 (16:25 +0000)
commit80a051712981fb232567813e11899b592ddd51de
tree852929fbb928dc4a8a89a436060e5c006b4ff747
parentcea5d26aa21ab224b84c59983ffd1f022e65e008
os/user: allow LookupGroupId to fail during test

On my Mac I am in group 5000 which apparently has no name
(I suspect because it is an LDAP group and I cannot reach the
LDAP server). Do not make the test fail in that case.

Fixes #14806

Change-Id: I56b11a8e86b048abfb00812eaad37802fd2adcc5
Reviewed-on: https://go-review.googlesource.com/20710
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/os/user/user_test.go