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

Function TestUnmountRecursive

core/mount/mount_linux_test.go:198–205  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

196}
197
198func TestUnmountRecursive(t *testing.T) {
199 testutil.RequiresRoot(t)
200
201 target, _ := setupMounts(t)
202 if err := UnmountRecursive(target, 0); err != nil {
203 t.Fatal(err)
204 }
205}
206
207func TestDoPrepareIDMappedOverlayCleanups(t *testing.T) {
208 testutil.RequiresRoot(t)

Callers

nothing calls this directly

Calls 3

setupMountsFunction · 0.85
FatalMethod · 0.80
UnmountRecursiveFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…