]> Cypherpunks repositories - gostls13.git/commit
os: fix tests for AIX
authorClément Chigot <clement.chigot@atos.net>
Thu, 25 Oct 2018 08:02:37 +0000 (10:02 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 26 Oct 2018 14:46:35 +0000 (14:46 +0000)
commitdb9e15e68f24120922564365670c2bef6f6869e7
treef0a7e1af713f8171297a5a09f0d696d58ab50161
parent43530e6b25ce542420967efa9d1016fad0336a4f
os: fix tests for AIX

This commits fixes tests for AIX inside os package.

"hostname" command on AIX returns "name.domain" and not only "name".
So, "hostname -s" must be called.

Change-Id: I75e193bcb6ad607ce54ad99aabbed9839012f707
Reviewed-on: https://go-review.googlesource.com/c/144537
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/os/executable_test.go
src/os/file_posix.go
src/os/os_test.go
src/os/sticky_bsd.go
src/os/sticky_notbsd.go