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

Method String

libcontainer/integration/utils_test.go:67–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65}
66
67func (b *stdBuffers) String() string {
68 s := []string{}
69 if b.Stderr != nil {
70 s = append(s, b.Stderr.String())
71 }
72 if b.Stdout != nil {
73 s = append(s, b.Stdout.String())
74 }
75 return strings.Join(s, "|")
76}
77
78// ok fails the test if an err is not nil.
79func ok(t testing.TB, err error) {

Callers 15

testExecPSFunction · 0.45
TestIPCPrivateFunction · 0.45
TestIPCHostFunction · 0.45
TestIPCJoinPathFunction · 0.45
testRlimitFunction · 0.45
TestEnterFunction · 0.45
TestProcessEnvFunction · 0.45
TestProcessEmptyCapsFunction · 0.45
TestProcessCapsFunction · 0.45
TestAdditionalGroupsFunction · 0.45
testPidsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected