aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@google.com>2011-11-18 01:53:07 +1100
committerJoel Sing <jsing@google.com>2011-11-18 01:53:07 +1100
commitea2c0cd88f830a1f8af9ee5f9a9cfb643f3cbd30 (patch)
tree4758fd1db3c6b38b5901efeaecb81005fb6e75bd
parent9b571a31200ffccad327cefb48944a3b88494bcd (diff)
downloadgo-ea2c0cd88f830a1f8af9ee5f9a9cfb643f3cbd30.tar.gz
go-ea2c0cd88f830a1f8af9ee5f9a9cfb643f3cbd30.zip
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
-rw-r--r--src/pkg/os/os_test.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/pkg/os/os_test.go b/src/pkg/os/os_test.go
index 1b6cb8028c..7041136ec9 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