Skip to content

Commit fd129a6

Browse files
rabajaj0509ianlancetaylor
authored andcommitted
[release-branch.go1.16] syscall: fix TestGroupCleanupUserNamespace test failure on Fedora
For #46752 Fixes #46769 Change-Id: I2eaa9d15fac4e859e18191fcf1372e5be94899df GitHub-Last-Rev: 8a2672d GitHub-Pull-Request: #46753 Reviewed-on: https://go-review.googlesource.com/c/go/+/328109 Run-TryBot: Tobias Klauser <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Tobias Klauser <[email protected]> (cherry picked from commit a752bc0) Reviewed-on: https://go-review.googlesource.com/c/go/+/329831 Trust: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]>
1 parent 7677616 commit fd129a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/syscall/exec_linux_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ func TestGroupCleanupUserNamespace(t *testing.T) {
317317
"uid=0(root) gid=0(root) groups=0(root),65534",
318318
"uid=0(root) gid=0(root) groups=0(root),65534(nobody),65534(nobody),65534(nobody),65534(nobody),65534(nobody),65534(nobody),65534(nobody),65534(nobody),65534(nobody),65534(nobody)", // Alpine; see https://golang.org/issue/19938
319319
"uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023", // CentOS with SELinux context, see https://golang.org/issue/34547
320+
"uid=0(root) gid=0(root) groups=0(root),65534(nobody) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023", // Fedora with SElinux context, see https://golang.org/issue/46752
320321
}
321322
for _, e := range expected {
322323
if strOut == e {

0 commit comments

Comments
 (0)