opnsense-src/usr.bin/mail
Kyle Evans d5e5e24179 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
2025-05-29 15:08:50 -05:00
..
misc
tests mail: tests: reset signal disposition before testing 2025-05-29 15:08:50 -05:00
cmd1.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
cmd2.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
cmd3.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
cmdtab.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
collect.c mail: don't rewrite buffer sizes as much 2025-05-29 15:08:49 -05:00
def.h usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
edit.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
extern.h mail: remove the SIGHUP handler from lex.c 2025-05-14 14:20:34 -05:00
fio.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
getname.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
glob.h usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
head.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
lex.c mail: don't rewrite buffer sizes as much 2025-05-29 15:08:49 -05:00
list.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
mail.1 usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
main.c Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
Makefile mail: Don't trap signals we shouldn't. 2025-04-27 08:29:32 +02:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
names.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
pathnames.h usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
popen.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
quit.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
rcv.h usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
send.c mail: Exit non-zero on failure to collect mail. 2025-04-29 17:12:30 +02:00
strings.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
temp.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
tty.c mail: add volatile in grabh() 2024-01-04 21:40:53 -05:00
util.c mail: don't rewrite buffer sizes as much 2025-05-29 15:08:49 -05:00
v7.local.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
vars.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
version.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00