summary refs log tree commit diff
path: root/nptl/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.com>2015-09-21 15:54:04 -0700
committerAdhemerval Zanella <adhemerval.zanella@linaro.com>2015-10-09 15:50:27 -0300
commit67ac0f74a4a5021f77566fdbe4cda5880eba8ba4 (patch)
tree73e2d1c6ad5306b9193f5d4e6e9676bc1b9f2da1 /nptl/Makefile
parent4b71ce6c1a50c14c758f1dd7a2943f2ab9760e85 (diff)
downloadglibc-67ac0f74a4a5021f77566fdbe4cda5880eba8ba4.tar.gz
glibc-67ac0f74a4a5021f77566fdbe4cda5880eba8ba4.tar.xz
glibc-67ac0f74a4a5021f77566fdbe4cda5880eba8ba4.zip
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.
Diffstat (limited to 'nptl/Makefile')
-rw-r--r--nptl/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index f3de49bb4d..311b1a78b4 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -259,6 +259,7 @@ tests = tst-typesizes \
 	tst-cancel11 tst-cancel12 tst-cancel13 tst-cancel14 tst-cancel15 \
 	tst-cancel16 tst-cancel17 tst-cancel18 tst-cancel19 tst-cancel20 \
 	tst-cancel21 tst-cancel22 tst-cancel23 tst-cancel24 tst-cancel25 \
+	tst-cancel26 tst-cancel27 \
 	tst-cancel-self tst-cancel-self-cancelstate \
 	tst-cancel-self-canceltype tst-cancel-self-testcancel \
 	tst-cleanup0 tst-cleanup1 tst-cleanup2 tst-cleanup3 tst-cleanup4 \