From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] tst_res: Print errno number in addition to error name
Date: Tue, 20 Aug 2019 12:28:28 +0200 [thread overview]
Message-ID: <20190820102828.GB22483@rei.lan> (raw)
In-Reply-To: <CAEemH2eCNk7tUadvcKcsyGZB+_Hgijg7-yd8Aw-RFtqrQhNLQQ@mail.gmail.com>
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
next prev parent reply other threads:[~2019-08-20 10:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-19 13:36 [LTP] [PATCH] tst_res: Print errno number in addition to error name Richard Palethorpe
2019-08-20 7:38 ` Li Wang
2019-08-20 9:55 ` Cyril Hrubis
2019-08-20 9:56 ` Cyril Hrubis
2019-08-20 10:10 ` Li Wang
2019-08-20 10:28 ` Cyril Hrubis [this message]
2019-08-20 10:20 ` Li Wang
2019-08-20 10:27 ` Cyril Hrubis
2019-08-21 7:57 ` Richard Palethorpe
2019-08-21 8:36 ` Cyril Hrubis
2019-09-10 13:00 ` Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190820102828.GB22483@rei.lan \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox