[LTP] [PATCH v7 4/4] syscalls/fsmount01: Add test for fsmount series API

Petr Vorel pvorel@suse.cz
Mon Feb 17 15:13:06 CET 2020


Hi,

> > +	if (ismount(MNTPOINT)) {
> > +		tst_res(TPASS, "new mount API works");
Also I'll change this to "device mounted".

> > +		SAFE_UMOUNT(MNTPOINT);
> > +		is_mounted = 0;
> > +	} else
> > +		tst_res(TFAIL, "new mount API works");
>                                   ^
> 				"device not mounted" ?

Kind regards,
Petr


More information about the ltp mailing list