[LTP] [PATCH 1/2] cpuset_memory: Print basic subtest descriptions

Martin Doucha mdoucha@suse.cz
Wed Dec 17 11:26:52 CET 2025


On 12/17/25 08:12, Petr Vorel wrote:
> Hi Martin,
> 
>> The cpuset_memory tests has multiple subtests. Print short description
>> before each subtest to simplify debugging. The last three subtests
>> have the same description because they differ only in the specific
>> pattern of signals sent to the parent and child allocator threads.
> 
> Yeah, it makes sense as ith has 17 tests.
> 
> ...
>>   test16()
>>   {
>> +	tst_resm TINFO "Testing anonymous memory reallocation in multiple cpusets with threads and migration."
> 
> How about using $1 to print number of the test (on each message, not on the last
> three)?
> nit: Also, could we remove the trailing dot?
> 
> tst_resm TINFO "$1 Testing anonymous memory reallocation in multiple cpusets with threads and migration"
> 
> If you agree I can do both before merge.

Hello,
feel free to do both. But $1 is not set in the subtest calls so don't 
forget to also add the argument on line 794.

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


More information about the ltp mailing list