]> Cypherpunks repositories - gostls13.git/commit
syscall: add aix to syscall_unix_test.go
authorClément Chigot <clement.chigot@atos.net>
Wed, 10 Apr 2019 15:16:48 +0000 (17:16 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 12 Apr 2019 16:18:12 +0000 (16:18 +0000)
commit63cad96a9b38bfcde48a167e070cc8843c5aed13
treec5f2cee7a283db874086134a70a5ccbf59c95208
parent77fa11dffb59334eb32502c53faf9946a7caa1fc
syscall: add aix to syscall_unix_test.go

This file was forgotten during the port of aix/ppc64. In order to make
its tests passed, a few things were added:
- Add termios.h to zerrors
- Add AF_LOCAL = AF_UNIX as this constant doesn't exits natively on AIX
- Fix the alignment in cmsghdr structure.

TestPassFD doesn't work on AIX TL<2 because getsockname isn't working as
expected with unix socket.

Change-Id: I928705bfc78ada29e66df61fe97d8f379f8c739b
Reviewed-on: https://go-review.googlesource.com/c/go/+/171339
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/syscall/mkerrors.sh
src/syscall/sockcmsg_unix.go
src/syscall/syscall_aix.go
src/syscall/syscall_unix_test.go
src/syscall/zerrors_aix_ppc64.go
src/syscall/zsyscall_aix_ppc64.go