Page MenuHomeFreeBSD

mail: tests: reset signal disposition before testing
ClosedPublic

Authored by kevans on May 29 2025, 5:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 13, 4:58 PM
Unknown Object (File)
Wed, May 13, 4:47 PM
Unknown Object (File)
Wed, May 13, 4:37 PM
Unknown Object (File)
Sat, May 9, 7:51 AM
Unknown Object (File)
Sun, May 3, 11:49 AM
Unknown Object (File)
Thu, Apr 30, 3:31 PM
Unknown Object (File)
Wed, Apr 29, 8:08 PM
Unknown Object (File)
Wed, Apr 29, 6:04 PM
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