[COMMITTED PATCH] Test that pthread_create diagnoses invalid scheduling parameters.

H.J. Lu hjl.tools@gmail.com
Fri Nov 21 20:36:00 GMT 2014


On Wed, Nov 19, 2014 at 5:33 PM, Roland McGrath <roland@hack.frob.com> wrote:
> Tested x86_64-linux-gnu.
>
>
> Thanks,
> Roland
>
>
> 2014-11-19  Roland McGrath  <roland@hack.frob.com>
>
>         * nptl/tst-bad-schedattr.c: New file.
>         * nptl/Makefile (tests): Add it.
>

It fails on ia32 and x32:

pthread_create returned 0 (Success), expected 22 (EINVAL: Invalid argument)
Didn't expect signal from child: got `Aborted'

Is this expected?


-- 
H.J.



More information about the Libc-alpha mailing list