MCPcopy
hub / github.com/firecracker-microvm/firecracker-containerd / fsSafeTestName

Function fsSafeTestName

runtime/jailer_integ_test.go:93–95  ·  view source on GitHub ↗
(tb testing.TB)

Source from the content-addressed store, hash-verified

91}
92
93func fsSafeTestName(tb testing.TB) string {
94 return strings.ReplaceAll(tb.Name(), "/", "-")
95}
96
97func testJailer(t *testing.T, jailerConfig *proto.JailerConfig) {
98 client, err := containerd.New(integtest.ContainerdSockPath, containerd.WithDefaultRuntime(firecrackerRuntime))

Callers 2

testJailerFunction · 0.85
testAttachBlockDeviceFunction · 0.85

Calls 1

NameMethod · 0.65

Tested by

no test coverage detected