[LTP] [PATCH v2] Rewrite statx04 test

Li Wang liwang@redhat.com
Thu Jan 20 08:30:26 CET 2022


On Thu, Jan 20, 2022 at 3:18 PM Li Wang <liwang@redhat.com> wrote:
>
> Cyril Hrubis <chrubis@suse.cz> wrote:
>
> > > +     /* STATX_ATTR_COMPRESSED not supported on XFS */
> > > +     if (!strcmp(tst_device->fs_type, "xfs"))
> > > +             expected_mask &= ~STATX_ATTR_COMPRESSED;
>
> ...
> > > +     .skip_filesystems = (const char *const[]) {
> > > +             "fuse",
> > > +             NULL
> > > +     },
> > >       .tags = (const struct tst_tag[]) {
> > >               {"linux-git", "93bc420ed41d"},
> > >               {"linux-git", "99652ea56a41"},
> > >               {"linux-git", "04a87e347282"},
> > >               {"linux-git", "5f955f26f3d4"},
> > > +             {"known-fail", "STATX_ATTR_COMPRESSED is not implemented on XFS (strict mode)"},
>
> I'm wondering if it has necessary to add the known-fail tags here
> since we have already done XFS filtering in setup().

Sorry, let me pull back my question, seems I neglected there is a 'strict mode'.

-- 
Regards,
Li Wang



More information about the ltp mailing list