From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Tue, 20 Aug 2019 12:28:28 +0200 Subject: [LTP] [PATCH] tst_res: Print errno number in addition to error name In-Reply-To: References: <20190819133618.7538-1-rpalethorpe@suse.com> <20190820095521.GA22253@rei.lan> <20190820095602.GB22253@rei.lan> Message-ID: <20190820102828.GB22483@rei.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it 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