doc: change the default behavior of tst_umount
PATCH v7 2/4 doc: change the default behavior of tst_umount
Modify tst_umount to umount TST_MNTPOINT by default in previous commit. Modify the document accordingly.
Signed-off-by Leo Yu-Chi Liang <[email protected]>
Reviewed-by Petr Vorel <[email protected]>
--- doc/shell-test-api.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
doc/shell-test-api.txt +4 -4
@@ -515,11 +515,11 @@ The 'tst_mount' mounts '$TST_DEVICE' of '$TST_FS_TYPE' (optional) to '$TST_MNT_PARAMS'. The '$TST_MNTPOINT' directory is created if it didn't exist prior to the function call. -If the path passed (optional, defaults to '$TST_DEVICE') to the 'tst_umount' is +If the path passed (optional, defaults to '$TST_MNTPOINT') to the 'tst_umount' is not mounted (present in '/proc/mounts') it's noop. -Otherwise it retries to umount the filesystem a few times on a failure, which -is a workaround since there are a daemons dumb enough to probe all newly -mounted filesystems, which prevents them from umounting shortly after they +Otherwise it retries to umount the filesystem a few times on failure. +This is a workaround since there are daemons dumb enough to probe all newly +mounted filesystems, and prevents them from being umounted shortly after they were mounted. ROD and ROD_SILENT
Signature · 1 line
2.17.0
PATCH v7 2/4 doc: change the default behavior of tst_umount