[LTP] [PATCH] tst_test.c: set the test id automatically

Cyril Hrubis chrubis@suse.cz
Tue May 23 13:49:47 CEST 2017


Hi!
> > diff --git a/lib/tst_test.c b/lib/tst_test.c
> > index 14a47d6..0bbcbf7 100644
> > --- a/lib/tst_test.c
> > +++ b/lib/tst_test.c
> > @@ -616,6 +616,22 @@ static void copy_resources(void)
> >                 TST_RESOURCE_COPY(NULL, tst_test->resource_files[i], NULL);
> >  }
> >
> > +static void get_tid(char *argv[])
> 
> Ah, forgot to mention that the return type should be "char *".

My bad, I did last minute changes to the patch. I will fix that before
pushing.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list