Skip to content

Commit

Permalink
net: correct TestIPConnSpecificMethods comment after CL 476217
Browse files Browse the repository at this point in the history
As suggested by Cherry in
https://go-review.googlesource.com/c/go/+/476217/5/src/net/protoconn_test.go#171

Change-Id: I4ce3c034b44953720c543a87639fd173f86af7dc
Reviewed-on: https://go-review.googlesource.com/c/go/+/476535
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
  • Loading branch information
tklauser authored and gopherbot committed Mar 15, 2023
1 parent 07a25a9 commit 2d84fbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/net/protoconn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ func TestIPConnSpecificMethods(t *testing.T) {
}
c, err := ListenIP("ip4:icmp", la)
if testenv.SyscallIsNotSupported(err) {
// May be inside a container that disallows creating a socket.
// May be inside a container that disallows creating a socket or
// not running as root.
t.Skipf("skipping: %v", err)
} else if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 2d84fbb

Please sign in to comment.