MCPcopy
hub / github.com/containerd/containerd / TestUnmountMounts

Function TestUnmountMounts

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

Source from the content-addressed store, hash-verified

187}
188
189func TestUnmountMounts(t *testing.T) {
190 testutil.RequiresRoot(t)
191
192 target, mounts := setupMounts(t)
193 if err := UnmountMounts(mounts, target, 0); err != nil {
194 t.Fatal(err)
195 }
196}
197
198func TestUnmountRecursive(t *testing.T) {
199 testutil.RequiresRoot(t)

Callers

nothing calls this directly

Calls 3

setupMountsFunction · 0.85
UnmountMountsFunction · 0.85
FatalMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…