]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.21] 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>
Thu, 20 Jul 2023 15:04:53 +0000 (15:04 +0000)
commit06a9034b609bf9fbfdd24ae516d2994da8ed98a9
treee0a921e65945491618a385a5b1d7bf1af0debf54
parent03c7e96be96e48517e3fa8d1b22d0835e47377f8
[release-branch.go1.21] 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.

Fixes #61414.

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/+/511136
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
src/net/interface_unix_test.go