]> Cypherpunks repositories - gostls13.git/commit
syscall, cmd/cgo: skip tests that shouldn't run under 'unshare -n -r'
authorDmitri Shuralyov <dmitshur@golang.org>
Thu, 27 Jul 2023 23:36:55 +0000 (19:36 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 28 Jul 2023 21:31:41 +0000 (21:31 +0000)
commit2ad666dea0490305bb7fd2dd6e7beb767acfd2c3
tree4f94fe90b3b2f4bfa33d0e7251a1c9598db73549
parentf322d67ced53f413c4b35f41f754fa34f440b012
syscall, cmd/cgo: skip tests that shouldn't run under 'unshare -n -r'

A small number of tests in the main tree are currently skipped in LUCI
because our builders there run tests without root. Unfortunately, these
tests begin to run when run under 'unshare -n -r' as implemented in
the current iteration of a no-network check. Add targeted builder-only
skips so that they don't begin to run and fail with a false positive.

Updates #10719.
For #30612.

Change-Id: I6dd320714a279c395882c1b2ebfbb2fce58f913b
Reviewed-on: https://go-review.googlesource.com/c/go/+/513779
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/cgo/internal/test/issue1435.go
src/syscall/exec_linux_test.go
src/syscall/exec_pdeathsig_test.go
src/syscall/syscall_linux_test.go