[LTP] [PATCH v3 07/11] Add statmount02 test
Cyril Hrubis
chrubis@suse.cz
Wed Jul 10 10:03:35 CEST 2024
Hi!
> + TST_EXP_EQ_LI(st_mount->mask, STATMOUNT_SB_BASIC);
> + TST_EXP_EQ_LI(st_mount->size, sizeof(struct statmount));
> + TST_EXP_EQ_LI(st_mount->sb_dev_major, sx_mount->stx_dev_major);
> + TST_EXP_EQ_LI(st_mount->sb_dev_minor, sx_mount->stx_dev_minor);
> + TST_EXP_EQ_LI(st_mount->sb_magic, sf_mount->f_type);
The basic operation also sets sb_flags, I suppose that we can pass
"readonly" flag for the mount in the tst_test structure then we should
see it in the sb_flags here.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list