[LTP] [PATCH] tst_res: Print errno number in addition to error name
Cyril Hrubis
chrubis@suse.cz
Tue Aug 20 12:28:28 CEST 2019
Hi!
> > > > It appears we are atleast missing ENOTSUPP (524) which is probably returned by
> > > > create_timer for some alarm clocks on none x86 arches. This isn't entirely
> > > > clear, but what is clear is that it would help to know what the error number
> > > > is without using strace.
> > >
> > > Can we please also patch the lib/errnos.h so that the ENOTSUPP is
> > > included there as well?
> >
> > And also patch the timer_create() tests to return TCONF if we got
> > ENOTSUPP?
>
> I think we shouldn't TCONF this until we get clear the problem.
Indeed, if nothing else it should return ENOTSUP/EOPNOTSUPP instead.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list