[LTP] [PATCH] timer_create01: accept kernel ENOTSUPP
Martin Doucha
mdoucha@suse.cz
Wed Oct 23 16:29:59 CEST 2019
On 10/23/19 4:04 PM, Thadeu Lima de Souza Cascardo wrote:
> You are right. We want this to succeed with EOPNOTSUPP, as it's a valid error
> from kernel space.
Actually, man says that EOPNOTSUPP is only valid for socket operations.
So no, we should not go out of our way to explicitly check timer errors
against EOPNOTSUPP either. (It's also a waste of time because on Linux,
ENOTSUP == EOPNOTSUPP).
--
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