]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
nptl/tst-cancel25 needs to be an internal test
authorFlorian Weimer <fweimer@redhat.com>
Fri, 18 Oct 2019 12:28:49 +0000 (14:28 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 18 Oct 2019 12:28:49 +0000 (14:28 +0200)
Otherwise the definition of SIGCANCEL is not visible.

Tested on x86_64-linux-gnu and i686-linux-gnu.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
nptl/Makefile
nptl/tst-cancel25.c

index 1129fd4516b5a6cc1cafa17d788b859919f6e0d4..41f8f5e8d232cf31138a3d83f27e05a24e9dbf62 100644 (file)
@@ -285,7 +285,7 @@ tests = tst-attr1 tst-attr2 tst-attr3 tst-default-attr \
        tst-cancel6 tst-cancel7 tst-cancel8 tst-cancel9 tst-cancel10 \
        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-cancel21 tst-cancel22 tst-cancel23 tst-cancel24 \
        tst-cancel26 tst-cancel27 \
        tst-cancel-self tst-cancel-self-cancelstate \
        tst-cancel-self-canceltype tst-cancel-self-testcancel \
@@ -329,7 +329,7 @@ tests = tst-attr1 tst-attr2 tst-attr3 tst-default-attr \
 tests-internal := tst-rwlock19 tst-rwlock20 \
                  tst-sem11 tst-sem12 tst-sem13 \
                  tst-barrier5 tst-signal7 tst-mutex8 tst-mutex8-static \
-                 tst-mutexpi8 tst-mutexpi8-static
+                 tst-mutexpi8 tst-mutexpi8-static tst-cancel25
 
 xtests = tst-setuid1 tst-setuid1-static tst-setuid2 \
        tst-mutexpp1 tst-mutexpp6 tst-mutexpp10
index 1067634eb7171377e85b5d1d28955ff02db3295b..24ddd3c01c356c93fbcf4d0a214c991b3c717112 100644 (file)
@@ -2,6 +2,7 @@
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <internal-signals.h>
 
 
 static pthread_barrier_t b;