From ea2c0cd88f830a1f8af9ee5f9a9cfb643f3cbd30 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Fri, 18 Nov 2011 01:53:07 +1100 Subject: [PATCH] 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 --- src/pkg/os/os_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/pkg/os/os_test.go b/src/pkg/os/os_test.go index 1b6cb8028c2..7041136ec9e 100644 --- a/src/pkg/os/os_test.go +++ b/src/pkg/os/os_test.go @@ -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