diff options
author | Joel Sing <jsing@google.com> | 2011-08-22 23:24:16 -0400 |
---|---|---|
committer | Joel Sing <jsing@google.com> | 2011-08-22 23:24:16 -0400 |
commit | 6f869f351a782eb88e4ab93612fc329b831b08ba (patch) | |
tree | 006d05ec9518238b5448c6e85daf6586e7f08443 /src/pkg/os | |
parent | 15234d0a68f16640d8d2d0ab19b1468931658a7d (diff) | |
download | go-6f869f351a782eb88e4ab93612fc329b831b08ba.tar.gz |
os: disable Hostname test on OpenBSD
R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/4901054
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/pkg/os')
-rw-r--r-- | src/pkg/os/os_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pkg/os/os_test.go b/src/pkg/os/os_test.go index 4d60333df..f9bacebf1 100644 --- a/src/pkg/os/os_test.go +++ b/src/pkg/os/os_test.go @@ -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 |