]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sigsys test: correct count of delivered signals
authorKonstantin Belousov <kib@FreeBSD.org>
Sun, 25 Feb 2024 01:36:27 +0000 (03:36 +0200)
committerKonstantin Belousov <kib@FreeBSD.org>
Sun, 25 Feb 2024 08:11:49 +0000 (10:11 +0200)
commit09dd7240acf1fc50061246013ce318404d70c4e0
tree93717f3594b7205bab2406fa098916f6e6b4b71a
parentf5f08e41aa57f94e3c127a488a82b4e518781f89
sigsys test: correct count of delivered signals

When knob is zero, intent is that no SIGSYS signals are delivered.
Comparing zero to zero does not test much, we should compare the count
of delivered SIGSYSs to zero.

Reviewed by: dchagin, imp
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D44077
tests/sys/kern/sigsys.c