1
0
mirror of https://github.com/golang/go synced 2024-11-22 04:44:39 -07:00

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
This commit is contained in:
Joel Sing 2011-11-18 01:53:07 +11:00
parent 9b571a3120
commit ea2c0cd88f

View File

@ -942,11 +942,6 @@ func TestHostname(t *testing.T) {
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