[LTP] [PATCH] ltp: keep the .tid hidden in the test library
Cyril Hrubis
chrubis@suse.cz
Wed Oct 25 11:05:41 CEST 2017
Hi!
> Attaching a new patch to achieve the same target in another way. It
> just remove the .tid from test struct and take use of TCID to replace.
>
> Which one do you think is better?
I think that removing it from the test structure is better, but reusing
the oldlib TCID seems to be a bit messy solution to me. We may get rid
of that one in the future, if we happen to convert all the oldlib
testcases. I would be a bit happier if we decleared static char *tid in
the tst_test.c instead.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list