[LTP] [RFC PATCH 1/1] open_posix_testsuite/pthread_sigmask: fix return value checks

Sandeep Patil sspatil@android.com
Tue May 21 06:40:01 CEST 2019


On Mon, May 20, 2019 at 11:53:57AM +0200, Cyril Hrubis wrote:
> Hi!
> > Consistently use error(3) and replace all occurences of perror()
> > at the same time.
> 
> The error(3) is GNU extension we cannot use it in a POSIX testsuite as
> such, I guess that we will have to add custom error reporting functions
> (in a separate patch) to the open_posix_testsuite/include/posixtest.h
> header...
> 
> Other than that the patch is obviously correct.

Thanks you want me to add an error(3)-like function there?
I guess I can do that and then start changing all tests.

Thanks for pointing out the GNU-extension, didn't realize that.

- ssp


More information about the ltp mailing list