[PATCH 3/7] nptl: Fix testcases for new pthread cancellation, mechanism

Adhemerval Zanella azanella@linux.vnet.ibm.com
Sat Sep 27 16:17:00 GMT 2014


On 26-09-2014 16:56, Joseph S. Myers wrote:
> On Fri, 26 Sep 2014, Adhemerval Zanella wrote:
>
>> This patches fixes the NPTL testcase that assumes the old behavior and
>> also remove the tst-cancel-wrappers.sh test (which checks for symbols
>> that does not exist anymore).
> I don't think there's any clear answer to how it's now tested that all 
> these functions are cancellable (e.g. a list of tests in the testsuite, 
> for every function that was covered by that test, that test that 
> requirement).
>
> For example, where is this tested for pread64?
>
Indeed, it will require a similar test (although I see tst-cancel-wrapper.sh 
does not really exercise the code itself).  I think add more test like the
ones in tst-cancel4 would be better to check for pread64 and similar functions.



More information about the Libc-alpha mailing list