Skip to content

Commit f533c37

Browse files
committed
syscall: fix TestGroupCleanupUserNamespace test failure on Fedora
Fixes #46752
1 parent b4a2af2 commit f533c37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/syscall/exec_linux_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ func TestGroupCleanupUserNamespace(t *testing.T) {
318318
"uid=0(root) gid=0(root) groups=0(root),65534",
319319
"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
320320
"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
321+
"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
321322
}
322323
for _, e := range expected {
323324
if strOut == e {

0 commit comments

Comments
 (0)