diff --git a/staging/src/k8s.io/mount-utils/mount_helper_test.go b/staging/src/k8s.io/mount-utils/mount_helper_test.go index 91be5cf956a..34137ca6ac9 100644 --- a/staging/src/k8s.io/mount-utils/mount_helper_test.go +++ b/staging/src/k8s.io/mount-utils/mount_helper_test.go @@ -53,6 +53,12 @@ func TestDoCleanupMountPoint(t *testing.T) { return MountPoint{Device: "/dev/sdb", Path: path}, nil, nil }, }, + "path-not-exist": { + prepare: func(base string) (MountPoint, error, error) { + path := filepath.Join(base, testMount) + return MountPoint{Device: "/dev/sdb", Path: path}, nil, nil + }, + }, "mount-corrupted": { prepare: func(base string) (MountPoint, error, error) { path := filepath.Join(base, testMount)