[LTP] [PATCH] openposix: Remove timer_*/speculative tests for invalid timerid

Martin Doucha mdoucha@suse.cz
Tue Sep 29 15:09:56 CEST 2026


On 8/13/26 16:46, Cyril Hrubis wrote:
> Hi!
> The only concern I have here is that there are UNIX-like OSes that
> actually implement all the optional behavior and in that case these are
> valid tests. AFAIK OpenBSD implements are these "may" clauses that Linux
> implementation ignores completely.

Hi, the behavior was optional until 2013 edition of POSIX[1]. Starting 
from 2016 edition[2], the behavior is undefined. The tests are no longer 
valid. We should drop them.

[1] 
https://pubs.opengroup.org/onlinepubs/9699919799.2013edition/functions/timer_delete.html
[2] 
https://pubs.opengroup.org/onlinepubs/9699919799.2016edition/functions/timer_delete.html

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