- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for badexec (0.1 sec)
-
src/internal/testenv/testenv_test.go
} t.Logf("HasGoBuild is true; checking consistency with other functions") hasExec := false hasExecGo := false t.Run("MustHaveExec", func(t *testing.T) { testenv.MustHaveExec(t) hasExec = true }) t.Run("MustHaveExecPath", func(t *testing.T) { testenv.MustHaveExecPath(t, "go") hasExecGo = true }) if !hasExec { t.Errorf(`MustHaveExec(t) skipped unexpectedly`) } if !hasExecGo {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 23:12:44 UTC 2024 - 6.1K bytes - Viewed (0) -
src/cmd/go/scriptcmds_test.go
return cmd.Process.Signal(interrupt) } } cmdExec := script.Exec(cancel, waitDelay) cmds["exec"] = cmdExec add := func(name string, cmd script.Cmd) { if _, ok := cmds[name]; ok { panic(fmt.Sprintf("command %q is already registered", name)) } cmds[name] = cmd } add("cc", scriptCC(cmdExec)) cmdGo := scriptGo(cancel, waitDelay) add("go", cmdGo)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 18:33:17 UTC 2024 - 3.3K bytes - Viewed (0) -
tools/bug-report/pkg/kubectlcmd/kubectlcmd.go
if dryRun { return fmt.Sprintf("Dry run: would be running podExec %s/%s/%s:%s", pod, namespace, container, cmdStr), nil } task := fmt.Sprintf("PodExec %s/%s/%s:%s", namespace, pod, container, cmdStr) r.addRunningTask(task) defer r.removeRunningTask(task) stdout, stderr, err := r.Client.PodExec(pod, namespace, container, cmdStr) if err != nil { return "", fmt.Errorf("podExec error: %s\n\nstderr:\n%s\n\nstdout:\n%s",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 16 01:18:03 UTC 2023 - 7.2K bytes - Viewed (0) -
src/runtime/ehooks_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 2.1K bytes - Viewed (0) -
src/runtime/testdata/testexithooks/testexithooks.go
_ "unsafe" ) var modeflag = flag.String("mode", "", "mode to run in") func main() { flag.Parse() switch *modeflag { case "simple": testSimple() case "goodexit": testGoodExit() case "badexit": testBadExit() case "panics": testPanics() case "callsexit": testHookCallsExit() case "exit2": testExit2() default: panic("unknown mode") } } func testSimple() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/positions.go
return MakePos(n.Pos().Base(), 1, 1) // declarations // case *ImportDecl: // case *ConstDecl: // case *TypeDecl: // case *VarDecl: // case *FuncDecl: // expressions // case *BadExpr: // case *Name: // case *BasicLit: case *CompositeLit: if n.Type != nil { m = n.Type continue } return n.Pos() case *KeyValueExpr: m = n.Key // case *FuncLit:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 17:49:19 UTC 2024 - 6.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/env_write.txt
! go env -w GOMODCACHE=./test stderr 'go: GOMODCACHE entry is relative; must be absolute path: "./test"' # go env -w checks validity of GOEXPERIMENT env GOEXPERIMENT= ! go env -w GOEXPERIMENT=badexp stderr 'unknown GOEXPERIMENT badexp' go env -w GOEXPERIMENT=fieldtrack # go env -w and go env -u work on unknown fields already in the go/env file cp bad.env $GOENV go env GOENV cat $GOENV go env ! stdout UNKNOWN
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 18:42:31 UTC 2024 - 5.9K bytes - Viewed (0) -
tests/integration/pilot/proxyconfig/proxyconfig_test.go
for _, w := range i.WorkloadsOrFail(t) { w := w for k, v := range values { // can we rely on printenv being in the container once distroless is default? out, _, err := i.Config().Cluster.PodExec(w.PodName(), i.Config().Namespace.Name(), "istio-proxy", fmt.Sprintf("printenv %s", k)) out = strings.TrimSuffix(out, "\n") if err != nil { return fmt.Errorf("could not exec into pod: %v", err)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 6.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/ast/inspector/typeof.go
switch n.(type) { case *ast.ArrayType: return 1 << nArrayType case *ast.AssignStmt: return 1 << nAssignStmt case *ast.BadDecl: return 1 << nBadDecl case *ast.BadExpr: return 1 << nBadExpr case *ast.BadStmt: return 1 << nBadStmt case *ast.BasicLit: return 1 << nBasicLit case *ast.BinaryExpr: return 1 << nBinaryExpr case *ast.BlockStmt:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:28:13 UTC 2023 - 4.8K bytes - Viewed (0) -
src/go/ast/walk.go
Walk(v, n.Type) } if n.Tag != nil { Walk(v, n.Tag) } if n.Comment != nil { Walk(v, n.Comment) } case *FieldList: walkList(v, n.List) // Expressions case *BadExpr, *Ident, *BasicLit: // nothing to do case *Ellipsis: if n.Elt != nil { Walk(v, n.Elt) } case *FuncLit: Walk(v, n.Type) Walk(v, n.Body) case *CompositeLit:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:34:10 UTC 2024 - 6.4K bytes - Viewed (0)