History log of /freebsd/usr.bin/mail/tests/mailx_signal_test.c (Results 1 – 2 of 2)
Revision Date Author Comments
# d5e5e241 29-May-2025 Kyle Evans <kevans@FreeBSD.org>

mail: tests: reset signal disposition before testing

As a good citizen of the OS, mail(1) won't try to catch signals that
were ignored when it started and it won't reconfigure its signal mask
unless

mail: tests: reset signal disposition before testing

As a good citizen of the OS, mail(1) won't try to catch signals that
were ignored when it started and it won't reconfigure its signal mask
unless it's going to try and handle a signal. The test should start
mail(1) off in a well-known state for the signal that it's trying to
test in order to get the behavior that's desired.

No functional change, just improves the resilience of the test.

Reviewed by: des
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D50599

show more ...


# a6bac0a9 14-May-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

mail: Add test cases for SIGHUP.

MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D50296