From 92a9ddf0faca359e32b80a647b722ab47e711b23 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 10 Nov 2009 18:27:26 -0800 Subject: [PATCH] net: fix error for connect to /etc/ on some systems R=agl1 CC=golang-dev https://golang.org/cl/152051 --- src/pkg/net/net_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/net/net_test.go b/src/pkg/net/net_test.go index 39fdf1e1d2e..43c10f1d06b 100644 --- a/src/pkg/net/net_test.go +++ b/src/pkg/net/net_test.go @@ -50,7 +50,7 @@ var dialErrorTests = []DialErrorTest{ }, DialErrorTest{ "unix", "", "/etc/", - "dial unix /etc/: (permission denied|socket operation on non-socket)", + "dial unix /etc/: (permission denied|socket operation on non-socket|connection refused)", }, }