Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
a9fe3a0c
Commit
a9fe3a0c
authored
Aug 22, 2011
by
Joel Sing
Committed by
Russ Cox
Aug 22, 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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/pkg/os/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