Commit ea2c0cd8 authored by Joel Sing's avatar Joel Sing

os: re-enable hostname test on openbsd

Now that Sysctl() works, re-enable the hostname test.

R=golang-dev, mikioh.mikioh
CC=golang-dev
https://golang.org/cl/5408042
parent 9b571a31
...@@ -942,11 +942,6 @@ func TestHostname(t *testing.T) { ...@@ -942,11 +942,6 @@ func TestHostname(t *testing.T) {
return return
} }
// TODO(jsing): Fix nametomib() on OpenBSD
if syscall.OS == "openbsd" {
return
}
// Check internal Hostname() against the output of /bin/hostname. // Check internal Hostname() against the output of /bin/hostname.
// Allow that the internal Hostname returns a Fully Qualified Domain Name // Allow that the internal Hostname returns a Fully Qualified Domain Name
// and the /bin/hostname only returns the first component // 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