Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
a9fe3a0c
Commit
a9fe3a0c
authored
Aug 23, 2011
by
Joel Sing
Committed by
Russ Cox
Aug 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
os: disable Hostname test on OpenBSD
R=golang-dev, rsc CC=golang-dev
https://golang.org/cl/4901054
parent
35543259
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
os_test.go
src/pkg/os/os_test.go
+6
-0
No files found.
src/pkg/os/os_test.go
View file @
a9fe3a0c
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment