]> Cypherpunks repositories - gostls13.git/commit
os: don't wrap os.Getgroups error in tests
authorKir Kolyshkin <kolyshkin@gmail.com>
Tue, 18 Mar 2025 23:33:22 +0000 (16:33 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 20 Mar 2025 15:15:51 +0000 (08:15 -0700)
commitb59b0580a164478877a684ff3c347a15b03b14fe
tree761dd096ebe433b1af64ca7bb25c294026451702
parent03cb8d408e0372693f165b63dff1410c47d9cd1b
os: don't wrap os.Getgroups error in tests

The error returned is an os.PathError which already provides enough
context.

Change-Id: Ib9391c00afc56bca673b8086d5dc19cf9b99b285
Reviewed-on: https://go-review.googlesource.com/c/go/+/658957
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/os/os_unix_test.go
src/os/root_unix_test.go