diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2023-03-15 15:17:11 +0100 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-03-15 17:06:26 +0000 |
| commit | 1d06667bc40160d909897470948bb3fc6ad4da96 (patch) | |
| tree | bb2f12d27192b4226ee1b4e8666901a8619421f9 /src/syscall/exec_linux.go | |
| parent | fbe313664664477616bb170903728be74a5f5963 (diff) | |
| download | go-1d06667bc40160d909897470948bb3fc6ad4da96.tar.xz | |
net: skip tests if creating a socket is disallowed
In a container environment, creating a socket may be disallowed. Try to
detect these cases and skip the tests instead of failing them.
Fixes #58114
Change-Id: I681d19107e946d2508e2d1704956360f13c7335b
Reviewed-on: https://go-review.googlesource.com/c/go/+/476217
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions
