1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:24:42 -07:00

net: fix error for connect to /etc/ on some systems

R=agl1
CC=golang-dev
https://golang.org/cl/152051
This commit is contained in:
Russ Cox 2009-11-10 18:27:26 -08:00
parent 8db6370d78
commit 92a9ddf0fa

View File

@ -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)",
},
}