1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:04:42 -07:00
go/src/os
Clément Chigot db9e15e68f 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>
2018-10-26 14:46:35 +00:00
..
exec os: add AIX operating system 2018-10-11 15:41:04 +00:00
signal os/signal: wait for goroutine in TestTerminalSignal 2018-10-17 19:56:31 +00:00
user os: add AIX operating system 2018-10-11 15:41:04 +00:00
dir_plan9.go
dir_unix.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
dir_windows.go
dir.go
env_test.go os: treat "${}" in Expand like in Go 1.10 2018-06-29 21:07:28 +00:00
env_unix_test.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
env.go os: treat "${}" in Expand like in Go 1.10 2018-06-29 21:07:28 +00:00
error_plan9.go
error_posix.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
error_test.go
error_unix_test.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
error_unix.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
error_windows_test.go
error_windows.go
error.go
example_test.go os: add UserHomeDir 2018-10-03 21:47:09 +00:00
exec_plan9.go os: add ExitCode method to ProcessState 2018-08-28 01:46:11 +00:00
exec_posix.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
exec_unix.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
exec_windows.go
exec.go
executable_darwin.go os: add check for empty executable path on darwin 2018-08-02 20:31:25 +00:00
executable_freebsd.go
executable_path.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
executable_plan9.go
executable_procfs.go
executable_solaris.go
executable_test.go os: fix tests for AIX 2018-10-26 14:46:35 +00:00
executable_windows.go
executable.go
export_test.go
export_windows_test.go
fifo_test.go
file_plan9.go os: handle TMPDIR in TempDir on Plan 9 2018-08-17 23:12:06 +00:00
file_posix.go os: fix tests for AIX 2018-10-26 14:46:35 +00:00
file_unix.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
file_windows.go all: fix a bunch of misspellings 2018-10-06 15:40:03 +00:00
file.go os: change UserHomeDir to use USERPROFILE on windows 2018-10-17 19:39:40 +00:00
getwd_darwin.go
getwd.go
os_test.go os: fix tests for AIX 2018-10-26 14:46:35 +00:00
os_unix_test.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
os_windows_test.go os: use FILE_FLAG_OPEN_REPARSE_POINT in SameFile 2018-09-29 04:02:38 +00:00
path_plan9.go
path_test.go
path_unix.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
path_windows_test.go all: use strings.ReplaceAll and bytes.ReplaceAll where applicable 2018-09-26 22:14:25 +00:00
path_windows.go
path.go os: when looping in RemoveAll, close and re-open directory 2018-06-27 22:05:25 +00:00
pipe2_bsd.go Revert "syscall, os: use pipe2 syscall on DragonflyBSD instead of pipe" 2018-08-26 21:30:35 +00:00
pipe_bsd.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
pipe_linux.go
pipe_test.go internal/poll: don't take read lock in SetBlocking 2018-07-11 00:34:18 +00:00
proc.go
stat_aix.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
stat_darwin.go
stat_dragonfly.go
stat_freebsd.go syscall: FreeBSD 12 ino64 support 2018-10-05 21:38:13 +00:00
stat_linux.go
stat_nacljs.go
stat_netbsd.go
stat_openbsd.go
stat_plan9.go
stat_solaris.go
stat_test.go os: use FILE_FLAG_OPEN_REPARSE_POINT in SameFile 2018-09-29 04:02:38 +00:00
stat_unix.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
stat_windows.go
stat.go
sticky_bsd.go os: fix tests for AIX 2018-10-26 14:46:35 +00:00
sticky_notbsd.go os: fix tests for AIX 2018-10-26 14:46:35 +00:00
str.go
sys_aix.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
sys_bsd.go
sys_js.go
sys_linux.go
sys_nacl.go
sys_plan9.go
sys_solaris.go
sys_unix.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
sys_windows.go
sys.go
timeout_test.go os: ignore SIGTTIN during TestTTYClose 2018-10-18 00:08:57 +00:00
types_plan9.go
types_unix.go
types_windows.go os: use FILE_FLAG_OPEN_REPARSE_POINT in SameFile 2018-09-29 04:02:38 +00:00
types.go os: add ModeCharDevice to ModeType 2018-09-13 09:52:57 +00:00
wait_unimp.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
wait_wait6.go
wait_waitid.go