- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for setupCmds (0.16 sec)
-
src/net/interface_unix_test.go
"runtime" "strings" "testing" "time" ) type testInterface struct { name string local string remote string setupCmds []*exec.Cmd teardownCmds []*exec.Cmd } func (ti *testInterface) setup() error { for _, cmd := range ti.setupCmds { if out, err := cmd.CombinedOutput(); err != nil { return fmt.Errorf("args=%v out=%q err=%v", cmd.Args, string(out), err) } } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 18 23:51:35 UTC 2023 - 4.9K bytes - Viewed (0) -
security/pkg/nodeagent/sds/sdsservice_test.go
s := setupSDS(t) c := s.Connect() s.Verify(c.RequestResponseAck(t, &discovery.DiscoveryRequest{ResourceNames: []string{rootResourceName}}), expectRoot) s.Verify(c.RequestResponseAck(t, &discovery.DiscoveryRequest{ResourceNames: []string{rootResourceName}}), expectRoot) c.ExpectNoResponse(t) }) t.Run("parallel", func(t *testing.T) { s := setupSDS(t) cert := s.Connect()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 17 20:12:58 UTC 2024 - 11.6K bytes - Viewed (0) -
src/cmd/dist/test.go
// run. testFlags is the list of flags to pass to the test package. // // The caller must call setupCmd on the resulting exec.Cmd to set its directory // and environment. func (opts *goTest) buildArgs(t *tester) (build, run, pkgs, testFlags []string, setupCmd func(*exec.Cmd)) { run = append(run, "-count=1") // Disallow caching if opts.timeout != 0 { d := opts.timeout * time.Duration(t.timeoutScale)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0)