Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unit tests: add tests for get_mntpoint_from_target
get_mntpoint_from_target was rewritten to handle bind mounts. findmnt uses square brackets to denote the fsroot, but square brackets are also used for normal purposes, such as ipv6 addresses, and dirnames can contain square brackets, too. Suggested-by: Coiby Xu <[email protected]> Signed-off-by: Lichen Liu <[email protected]>
- Loading branch information