]> granicus.if.org Git - strace/commit
Enhance parser of struct sigevent
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 16 Sep 2015 16:31:43 +0000 (16:31 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 17 Sep 2015 13:22:57 +0000 (13:22 +0000)
commitb8f0c9286ab532d06c3cbb191a4e85ee0b0901c3
treefdccb4f2beec2275a6e2e2d1ae8447874e2020d7
parent6f950cc49907c0357aeaa66a9ef32970733f14ae
Enhance parser of struct sigevent

* print_sigevent.c (print_sigevent): Always print names
of struct_sigevent fields along with their values.
Print signal name of sigev_signo for those sigev_notify values
that require valid signal numbers.
* tests/timer_create.c: New file.
* tests/timer_create.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add timer_create.
(TESTS): Add timer_create.test.
* tests/.gitignore: Add timer_create.
print_sigevent.c
tests/.gitignore
tests/Makefile.am
tests/timer_create.c [new file with mode: 0644]
tests/timer_create.test [new file with mode: 0755]