Page MenuHomeFreeBSD

mail: tests: reset signal disposition before testing
ClosedPublic

Authored by kevans on May 29 2025, 5:29 PM.
Tags
None
Referenced Files
F132484740: D50599.id156277.diff
Fri, Oct 17, 7:45 AM
F132445550: D50599.id156277.diff
Fri, Oct 17, 12:28 AM
Unknown Object (File)
Thu, Oct 9, 8:32 PM
Unknown Object (File)
Fri, Oct 3, 2:23 AM
Unknown Object (File)
Sep 13 2025, 12:59 AM
Unknown Object (File)
Sep 13 2025, 12:55 AM
Unknown Object (File)
Sep 12 2025, 9:51 AM
Unknown Object (File)
Sep 10 2025, 6:45 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable