[LTP] [PATCH 2/2] testcases/kernel: Add linux git and CVE tags

Cyril Hrubis chrubis@suse.cz
Tue Oct 15 11:52:25 CEST 2019


Hi!
> > diff --git a/testcases/cve/cve-2014-0196.c b/testcases/cve/cve-2014-0196.c
> > index 6997fffe4..012cbb7cd 100644
> > --- a/testcases/cve/cve-2014-0196.c
> > +++ b/testcases/cve/cve-2014-0196.c
> > @@ -141,4 +141,9 @@ static struct tst_test test = {
> >         .setup = setup,
> >         .cleanup = cleanup,
> >         .test_all = run,
> > +       .tags = (const struct tst_tag[]) {
> > +               {"linux-git", "4291086b1f08"},
> > +               {"CVE", "2014-0196"},
> > +               {}
> >
> 
> Some of the tests use {NULL, NULL} to terminate tag array but some not,
> maybe we need to keep consistent in usage.

I guess I missed some when I was converting {NULL, NULL} to just {}. I
will fix that in v2.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list