[LTP] [PATCH 1/1] syscalls/fsmount01: Add test for new mount API v5.2

Cyril Hrubis chrubis@suse.cz
Fri Feb 7 15:08:22 CET 2020


Hi!
> > I do remmeber commenting this that the tst_umount() already prints a
> > WARN which will fail the test anyways, so there is no point in handling
> > the return from tst_umount() here.
> I guess SAFE_UMOUNT(MNTPOINT) will be the best.

Actually no, because unlike the tst_umount() SAFE_UMOUNT() does not
retry, which will make the test faill if there is a background daemon
that is probing newly mounted filesystems.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list