mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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:
parent
8db6370d78
commit
92a9ddf0fa
1 changed files with 1 additions and 1 deletions
|
|
@ -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)",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue