mirror of
https://github.com/golang/go
synced 2024-11-24 22:37:56 -07:00
os: disable Hostname test on OpenBSD
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4901054
This commit is contained in:
parent
3554325937
commit
a9fe3a0ce3
@ -920,6 +920,12 @@ func TestHostname(t *testing.T) {
|
||||
if syscall.OS == "windows" || syscall.OS == "plan9" {
|
||||
return
|
||||
}
|
||||
|
||||
// TODO(jsing): Fix nametomib() on OpenBSD
|
||||
if syscall.OS == "openbsd" {
|
||||
return
|
||||
}
|
||||
|
||||
// Check internal Hostname() against the output of /bin/hostname.
|
||||
// Allow that the internal Hostname returns a Fully Qualified Domain Name
|
||||
// and the /bin/hostname only returns the first component
|
||||
|
Loading…
Reference in New Issue
Block a user