MCPcopy Index your code
hub / github.com/containerd/containerd / withExecExitStatus

Function withExecExitStatus

integration/client/helpers_unix_test.go:52–54  ·  view source on GitHub ↗
(s *specs.Process, es int)

Source from the content-addressed store, hash-verified

50}
51
52func withExecExitStatus(s *specs.Process, es int) {
53 s.Args = []string{"sh", "-c", fmt.Sprintf("exit %d", es)}
54}
55
56func withExecArgs(s *specs.Process, args ...string) {
57 s.Args = args

Callers 3

TestContainerExecFunction · 0.70
TestWaitStoppedProcessFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…