[LTP] [PATCH v2] misc: rewrite crash02 test

Martin Doucha mdoucha@suse.cz
Mon Jun 30 16:56:06 CEST 2025


On 30. 06. 25 16:41, Cyril Hrubis wrote:
> Hi!
>>> +	.forks_child = 1,
>>> +	.runtime = 40,
>>
>> Runtime should be calculated from num_tries. The default 1000 tries
>> probably don't need .runtime at all.
> 
> Or just loop until runtime is exhausted and set the runtime to a second
> or two. And possibly print a TINFO message once 1000, 10000, 100000, ...
> calls were done.

Either one is good, but you still need to update runtime according to 
command line arguments.

-- 
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