mirror of
https://github.com/golang/go
synced 2024-11-23 16:00:06 -07:00
syscall: extend skip criteria for TestAmbientCapsUserns
TestAmbientCapsUserns also needs to be skipped, e.g. in case the test is run inside a chroot. Updates #34015 Change-Id: I53913432fe9408217edfe64619adbfd911a51a7a Reviewed-on: https://go-review.googlesource.com/c/go/+/196500 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
62fb079e2b
commit
5d548f1243
@ -577,7 +577,7 @@ func TestAmbientCaps(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestAmbientCapsUserns(t *testing.T) {
|
||||
skipNoUserNamespaces(t)
|
||||
checkUserNS(t)
|
||||
testAmbientCaps(t, true)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user