MCPcopy
hub / github.com/opencontainers/runc / truePipeline

Function truePipeline

libcontainer/integration/exec_test.go:537–539  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

535func mkPtr[T any](v T) *T { return &v }
536
537func truePipeline(n int) string {
538 return strings.Join(slices.Repeat([]string{"/bin/true"}, n), " | ")
539}
540
541func testPids(t *testing.T, systemd bool) {
542 if testing.Short() {

Callers 1

testPidsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…