- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for GetGroups (0.29 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509_test.go
if testCase.ExpectOK { if testCase.ExpectUserName != resp.User.GetName() { t.Errorf("%s: Expected user.name=%v, got %v", k, testCase.ExpectUserName, resp.User.GetName()) } groups := resp.User.GetGroups() sort.Strings(testCase.ExpectGroups) sort.Strings(groups) if !reflect.DeepEqual(testCase.ExpectGroups, groups) { t.Errorf("%s: Expected user.groups=%v, got %v", k, testCase.ExpectGroups, groups) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 23:23:03 UTC 2024 - 36.9K bytes - Viewed (0) -
src/syscall/exec_linux.go
uidmap = formatIDMappings(sys.UidMappings) } if sys.GidMappings != nil { psetgroups = []byte("/proc/self/setgroups\000") pgid = []byte("/proc/self/gid_map\000") if sys.GidMappingsEnableSetgroups { setgroups = []byte("allow\000") } else { setgroups = []byte("deny\000") } gidmap = formatIDMappings(sys.GidMappings) } // Record parent PID so child can test if it has died.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 23K bytes - Viewed (0) -
src/syscall/exec_linux_test.go
}, GidMappingsEnableSetgroups: setgroups, } return cmd } func TestCloneNEWUSERAndRemap(t *testing.T) { for _, setgroups := range []bool{false, true} { setgroups := setgroups t.Run(fmt.Sprintf("setgroups=%v", setgroups), func(t *testing.T) { uid := os.Getuid() gid := os.Getgid() cmd := whoamiNEWUSER(t, uid, gid, setgroups) out, err := cmd.CombinedOutput()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 20.6K bytes - Viewed (0) -
src/syscall/syscall_linux_test.go
{call: "Setgroups([]int{0,1,2,3})", fn: func() error { return syscall.Setgroups([]int{0, 1, 2, 3}) }, filter: "Groups:", expect: "\t0 1 2 3"}, {call: "Setgroups(nil)", fn: func() error { return syscall.Setgroups(nil) }, filter: "Groups:", expect: ""}, {call: "Setgroups([]int{0})", fn: func() error { return syscall.Setgroups([]int{0}) }, filter: "Groups:", expect: "\t0"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessor.java
setThreadPoolFactoryClass(testNg, spec.getThreadPoolFactoryClass()); } testNg.setUseDefaultListeners(spec.getUseDefaultListeners()); testNg.setVerbose(0); testNg.setGroups(CollectionUtils.join(",", spec.getIncludeGroups())); testNg.setExcludedGroups(CollectionUtils.join(",", spec.getExcludeGroups())); // Adding custom test listeners before Gradle's listeners.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 21:25:59 UTC 2024 - 10.8K bytes - Viewed (0)