[PATCH] nptl: Add sendmmsg and recvmmsg cancellation tests
Carlos O'Donell
carlos@redhat.com
Fri Jun 10 18:42:00 GMT 2016
On 06/10/2016 02:17 PM, Adhemerval Zanella wrote:
>
>
> On 10/06/2016 14:54, Carlos O'Donell wrote:
>> On 06/10/2016 01:46 PM, Adhemerval Zanella wrote:
>>>
>>>
>>>> On Jun 10, 2016, at 14:04, Joseph Myers <joseph@codesourcery.com> wrote:
>>>>
>>>>> On Fri, 10 Jun 2016, Adhemerval Zanella wrote:
>>>>>
>>>>> This patch adds cancellation tests for both sendmmsg and recvmmsg
>>>>> syscalls.
>>>>
>>>> Will these work if those fail with ENOSYS (old kernels, or non-Linux ports
>>>> using NPTL)
>>>
>>> Right, I think best approach the to not fail for ENOSYS with a print
>>> saying it is not supported I the system. I will change that.
>>
>> If the only thing being tested is skipped then you should exit(77)
>> to indicate UNSUPPORTED.
>>
>
> In this case the syscalls tests is used along with some other cancellable
> interfaces. Should I create an specific test just to indicate it?
Probably a good idea.
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list