nptl: Add NPTL cases for cancellation failures cases
commit67ac0f74a4a5021f77566fdbe4cda5880eba8ba4
authorAdhemerval Zanella <adhemerval.zanella@linaro.com>
Mon, 21 Sep 2015 22:54:04 +0000 (21 15:54 -0700)
committerAdhemerval Zanella <adhemerval.zanella@linaro.com>
Fri, 9 Oct 2015 18:50:27 +0000 (9 15:50 -0300)
tree73e2d1c6ad5306b9193f5d4e6e9676bc1b9f2da1
parent4b71ce6c1a50c14c758f1dd7a2943f2ab9760e85
nptl: Add NPTL cases for cancellation failures cases

This patch pthread cancellation tests to check for failures cases
wherer the syscall cancel wrapper should both set the error and
the errno values.

Tested on i686, x86_64, x32, powerpc64le, and aarch64.

* nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
* nptl/tst-cancel26.c: New file.
* nptl/tst-cancel27.c: Likewise.
ChangeLog
nptl/Makefile
nptl/tst-cancel26.c [new file with mode: 0644]
nptl/tst-cancel27.c [new file with mode: 0644]