mirror of https://github.com/golang/go.git
bufio: skip network test if unixpacket socket not supported
Change-Id: I03434fdc4916fc8d195de2617edc28ec4b66a172 Reviewed-on: https://go-review.googlesource.com/c/go/+/647535 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> Reviewed-by: Damien Neil <dneil@google.com>
This commit is contained in:
parent
cb47156e90
commit
d7f6f6fd54
|
|
@ -30,7 +30,7 @@ func TestCopyUnixpacket(t *testing.T) {
|
|||
}
|
||||
server, err := net.ListenUnix("unixpacket", addr)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
t.Skipf("skipping test because opening a unixpacket socket failed: %v", err)
|
||||
}
|
||||
|
||||
// Start a goroutine for the server to accept one connection
|
||||
|
|
|
|||
Loading…
Reference in New Issue