Linux Test Project
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Andrea Cervesato <andrea.cervesato@suse.com>
Cc: Linux Test Project <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH v3 1/2] metadata: add tests grouping support
Date: Mon, 22 Jun 2026 14:08:39 +0200	[thread overview]
Message-ID: <ajklx0YwZM2rME93@yuki.lan> (raw)
In-Reply-To: <6a3923bd.b682100b.5097e.2dc2@mx.google.com>

Hi!
> > I'm looking at the metadata and we will need at least one follow up.
> > 
> > For tests that are under cve/ directory we add a 'cve' group now, but
> > tests that have cve tag but are in a different place we do not do so.
> > 
> > For consistency we should do:
> > 
> > * Filter out cve as we do with kernel in the group by path
> > 
> > * Possibly add cve group based on cve tag (I would call this optional as
> >   it kind of duplicates the cve tag)
> 
> Do you mean to take a look at the tst_test->tags and verify if we
> have a CVE tag? I think this is possible yes.

Not really. We have quite a lot of cve reproducers that do not have a
cve directory in their path. And then we have reproducers that do have
it. The current metadata has cve group only for the reproducers in the
cve directory which is inconsistent. So I proposed to filter out the
"cve" directory the same way we filter out "kernel". And possibly add
"cve" group based on tags, but that kind of duplicates the tag field, so
it may not make sense to add it.

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2026-06-22 12:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-22  8:53 [LTP] [PATCH v3 0/2] Support metadata groups Andrea Cervesato
2026-06-22  8:53 ` [LTP] [PATCH v3 1/2] metadata: add tests grouping support Andrea Cervesato
2026-06-22  9:57   ` [LTP] " linuxtestproject.agent
2026-06-22  9:59   ` [LTP] [PATCH v3 1/2] " Cyril Hrubis
2026-06-22 10:48     ` Andrea Cervesato via ltp
2026-06-22 11:15     ` Cyril Hrubis
2026-06-22 11:59       ` Andrea Cervesato via ltp
2026-06-22 12:08         ` Cyril Hrubis [this message]
2026-06-22  8:53 ` [LTP] [PATCH v3 2/2] doc: conf.py: Show groups in test catalog Andrea Cervesato

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ajklx0YwZM2rME93@yuki.lan \
    --to=chrubis@suse.cz \
    --cc=andrea.cervesato@suse.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox