func TestReadProcMountsFrom(t *testing.T) { … }
func mountPointsEqual(a, b *MountPoint) bool { … }
func TestGetMountRefs(t *testing.T) { … }
func setEquivalent(set1, set2 []string) bool { … }
func TestGetDeviceNameFromMount(t *testing.T) { … }
func TestGetMountRefsByDev(t *testing.T) { … }
func TestPathWithinBase(t *testing.T) { … }
func TestSearchMountPoints(t *testing.T) { … }
func TestSensitiveMountOptions(t *testing.T) { … }
func TestHasSystemd(t *testing.T) { … }
func mountArgsContainString(t *testing.T, mountArgs []string, wanted string) bool { … }
func mountArgsContainOption(t *testing.T, mountArgs []string, option string) bool { … }
func TestDetectSafeNotMountedBehavior(t *testing.T) { … }
func TestCheckUmountError(t *testing.T) { … }
func TestFormatConcurrency(t *testing.T) { … }
func TestFormatTimeout(t *testing.T) { … }
func mkStatfsFlags[T1 constraints.Integer, T2 constraints.Integer](orig T1, add T2) T1 { … }
func TestGetUserNSBindMountOptions(t *testing.T) { … }
func makeFakeCommandAction(stdout string, err error, cmdFn func()) testexec.FakeCommandAction { … }