Lines Matching refs:Uid
61 func whoamiCmd(t *testing.T, uid, gid int, setgroups bool) *exec.Cmd {
67 {ContainerID: 0, HostID: uid, Size: 1},
77 func testNEWUSERRemap(t *testing.T, uid, gid int, setgroups bool) {
78 cmd := whoamiCmd(t, uid, gid, setgroups)
199 Uid: 0,
208 expected := "uid=0(root) gid=0(root) groups=0(root)"
222 uid, gid := os.Getuid(), os.Getgid()
226 Uid: uint32(uid),
230 {ContainerID: 0, HostID: uid, Size: 1},
244 "uid=0(root) gid=0(root) groups=0(root)",
245 "uid=0(root) gid=0(root) groups=0(root),65534(nobody)",
246 "uid=0(root) gid=0(root) groups=0(root),65534(nogroup)",
247 "uid=0(root) gid=0(root) groups=0(root),65534",