]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Basic signal tests: Can we deliver a signal?
authorWarner Losh <imp@FreeBSD.org>
Tue, 23 Nov 2021 20:37:14 +0000 (13:37 -0700)
committerWarner Losh <imp@FreeBSD.org>
Mon, 6 Dec 2021 15:55:57 +0000 (08:55 -0700)
commit359f5cf29ff125a9f32d1ec70b73ecbdc49c956c
tree992db8cb34b78e3523b5e9dd58de3fa77c8f131b
parent66cc270f8f0f40c979e0264057a61027f58285b1
Basic signal tests: Can we deliver a signal?

Basic signal tests that tests can we deliver a signal via raise() and
can we deliver one via SIGALARM asynchronously.

In addition, tests whether or not on ARM T32 (Thumb) code can interrupt
A32 (normal) and vice versa.

While this test is aimed at ensuring basic qemu signals are working,
it's good to have in the base.

Sponsored by: Netflix
Discussed with: kevans, cognet
Differential Revision: https://reviews.freebsd.org/D33078

(cherry picked from commit afc5ab870d8661a7dacdbd65554c2f3533aecb8d)
tests/sys/kern/Makefile
tests/sys/kern/basic_signal.c [new file with mode: 0644]