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

Li Wang liwang@redhat.com
Tue May 23 04:58:44 CEST 2017


On Mon, May 22, 2017 at 10:16 PM, Cyril Hrubis <chrubis@suse.cz> wrote:

> 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 *".


Li Wang


More information about the ltp mailing list