[LTP] [RFC PATCH 1/2] tst_test: Add test multiplex function

Jan Stancek jstancek@redhat.com
Wed Mar 6 20:20:24 CET 2019

----- Original Message -----
> Hi!
> > > > on first look this looks like a workaround, because we have locked
> > > > ourselves out of .test function for timer tests.
> > > 
> > > I do not follow you here, can you elaborate?
> > 
> > If this wasn't timer test, I'd ask why don't we use existing .test and
> > .tcnt,
> > your test() func can be called with a parameter, so you could change
> > the code to choose correct syscall/glibc func based on value of that
> > parameter.
> > 
> > For normal tests, this looks almost and .test/.tcnt functionality,
> > except test count can be also dynamic.
> Well so does the .all_filesystems flag, however I see these concepts to
> be orthogonal to what the actual test does, which is the reason I want
> them hooked up in the library rather than to be part of the testcase
> code.

OK, so it's like another level on top of current test functions.

I probably would like 'variant' somewhere in name more, but overall
I'm not against the patch. Are you planning on adding some docs too?


More information about the ltp mailing list