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:
Ian Lance Taylor 2025-02-06 18:04:00 -08:00 committed by Gopher Robot
parent cb47156e90
commit d7f6f6fd54
1 changed files with 1 additions and 1 deletions

View File

@ -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