Commit a9fe3a0c authored by Joel Sing's avatar Joel Sing Committed by Russ Cox

os: disable Hostname test on OpenBSD

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4901054
parent 35543259
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment