aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2025-02-06 18:04:00 -0800
committerGopher Robot <gobot@golang.org>2025-02-07 11:37:07 -0800
commitd7f6f6fd54bb888606d882cd73df9dcac229b80a (patch)
treedc25e5dcbb3344a222a2a6448b3104b89194d687 /src
parentcb47156e90cac6b1030d747f1ccd433c00494dfc (diff)
downloadgo-d7f6f6fd54bb888606d882cd73df9dcac229b80a.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/bufio/net_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bufio/net_test.go b/src/bufio/net_test.go
index 9c609fbcca..d3b47e4cb9 100644
--- a/src/bufio/net_test.go
+++ b/src/bufio/net_test.go
@@ -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