[LTP] [PATCH v3 5/5] busy_poll: Move TST_{SETUP, CLEANUP} to the tests

Martin Doucha mdoucha@suse.cz
Mon May 2 10:54:16 CEST 2022


On 29. 04. 22 20:09, Petr Vorel wrote:
> I was thinking about it as well. Makes sense, but then it hides the fact that
> busy_poll_lib.sh contain other API variables (missing TST_TESTFUNC suggest that
> there are some variables in busy_poll_lib.sh). Anyway, I'm ok to move it there
> as well, just document that sharing variables between library and test will be
> always a bit problematic.

Now that you mention the other variables in busy_poll_lib.sh, I guess
that TST_MIN_KVER and TST_NEEDS_CMDS should use conditional expansion so
that the values can be changed in the tests.

-- 
Martin Doucha   mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic


More information about the ltp mailing list