summary refs log tree commit diff
path: root/signal/Makefile
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2018-04-26 22:21:13 +0200
committerAurelien Jarno <aurelien@aurel32.net>2018-04-26 22:21:13 +0200
commit7a6f74787132aca8e3809cae8d9e7bc7bfd55ce1 (patch)
tree39b22e287fe628805f8b72fcfdc47bce1d787443 /signal/Makefile
parent81b49e969233ac5b9faf5c043bb0cc64bf9d6271 (diff)
downloadglibc-7a6f74787132aca8e3809cae8d9e7bc7bfd55ce1.tar.gz
glibc-7a6f74787132aca8e3809cae8d9e7bc7bfd55ce1.tar.xz
glibc-7a6f74787132aca8e3809cae8d9e7bc7bfd55ce1.zip
Add tst-sigaction.c to test BZ #23069
This simple test uses sigaction to define a signal handler. It then
uses sigaction again to fetch the information about the same signal
handler, and check that they are consistent. This is enough to detect
mismatches between struct kernel_sigaction and the kernel version of
struct sigaction, like in BZ #23069.

Changelog:
       * signal/tst-sigaction.c: New file to test BZ #23069.
       * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
Diffstat (limited to 'signal/Makefile')
-rw-r--r--signal/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/signal/Makefile b/signal/Makefile
index a9b99a20be..aa63434f47 100644
--- a/signal/Makefile
+++ b/signal/Makefile
@@ -46,7 +46,7 @@ routines	:= signal raise killpg \
 		   sighold sigrelse sigignore sigset
 
 tests		:= tst-signal tst-sigset tst-sigsimple tst-raise tst-sigset2 \
-  tst-sigwait-eintr \
+		   tst-sigwait-eintr tst-sigaction \
 
 include ../Rules