]> Cypherpunks.ru repositories - gostls13.git/commit
os/signal: use syscall.Wait4 directly in tests
authorJoel Sing <joel@sing.id.au>
Sat, 28 Oct 2023 15:07:01 +0000 (02:07 +1100)
committerJoel Sing <joel@sing.id.au>
Wed, 1 Nov 2023 07:10:32 +0000 (07:10 +0000)
commit0aa21972792e2888c9d7a16eaace9724fc8655e4
tree3944291817b0b55069fe5046baacdfe3a014d780
parent1a58fd0fdaf9678d56b587f30dc9281553f6ccb9
os/signal: use syscall.Wait4 directly in tests

Rather than using syscall.Syscall6 with SYS_WAIT4, use syscall.Wait4
directly.

Updates #59667

Change-Id: I50fea3b7d10003dbc632aafd5e170a9fe96d6f42
Reviewed-on: https://go-review.googlesource.com/c/go/+/538459
Run-TryBot: Joel Sing <joel@sing.id.au>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/os/signal/signal_cgo_test.go