]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.19] net: tolerate permission errors in interface tests
authorHeschi Kreinick <heschi@google.com>
Tue, 18 Jul 2023 17:38:21 +0000 (13:38 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 19 Jul 2023 20:51:43 +0000 (20:51 +0000)
commit8c8277b8a1f97c4fee14c6a9ef593cf78191c95b
tree1c59e658251caf969a3661a51da08614aa8c2b24
parent6ce543d137fbb72e036d2d0b4d892d194b9bef40
[release-branch.go1.19] net: tolerate permission errors in interface tests

On our linux-arm64 builders, we're getting permission errors despite
running as root. Detect those errors and skip the test.

For #61414.
Fixes #61448.

Change-Id: I5d7c45789337bee3860b19335bbb9eb884c48986
Reviewed-on: https://go-review.googlesource.com/c/go/+/510737
Auto-Submit: Heschi Kreinick <heschi@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
(cherry picked from commit 8e1ec1cb9385414a7d6b664d8ace6bc9468cc500)
Reviewed-on: https://go-review.googlesource.com/c/go/+/511097
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Bypass: Heschi Kreinick <heschi@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/net/interface_unix_test.go