[LTP] [PATCH] waitpid01: Test all standard deadly signals

Martin Doucha mdoucha@suse.cz
Wed Jan 31 11:23:47 CET 2024


On 31. 01. 24 11:14, Petr Vorel wrote:
>> I've skipped all non-standard signals (some of which are just aliases for
>> standard ones) and I think it's better to avoid SIGUSR* since we use them
>> internally. But we could also add signal(sig, SIG_DFL); before raise() and
>> add SIGUSR* to the list.
> 
> Thanks for info. Feel free to send v2 (or let me know to wait). Otherwise I'll
> merge it in the evening or tomorrow.

Actually, let's just add SIGUSR1 and SIGUSR2 to the testcase list and 
merge. The LTP library signal handlers are reset to SIG_DFL in 
fork_testrun() so no special handling in the test is needed.

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