sysklogd/test
Joachim Wiberg daba6cce09 Fix #5&: failure to reset socket count on SIGHUP
As reported on GitHub. When logging to a remote host, after a few
SIGHUP's we get the following log message:

     Only 16 IP addresses per socket supported.

When closing all currently open sockets, the socket count must be reset
to allow for opening new ones, otherwise we'll run out of "counts".
Yes, this should be refactored to use the FreeBSD model implementation.

Problem introduced in v2.4.0, commit 075815e.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2022-07-26 07:47:09 +02:00
..
.gitignore Add simple API test, syslog() no call to openlog() 2019-11-03 15:55:25 +01:00
api.c Fix syslog() and syslogp() message formatting in API test 2019-11-04 20:10:36 +01:00
api.sh test: minor test cleanup and comments 2022-03-06 01:10:32 +01:00
facility.sh test: new test to verify facility sorting to custom log file 2022-04-08 18:56:30 +02:00
fwd.sh test: use new logger() function in all tests 2022-05-22 22:10:11 +02:00
lib.sh test: new memleak test using valgrind 2022-05-29 15:45:32 +02:00
local.sh test: use new logger() function in all tests 2022-05-22 22:10:11 +02:00
Makefile.am test: new memleak test using valgrind 2022-05-29 15:45:32 +02:00
mark.sh test: minor, shellcheck fixes 2022-03-06 01:10:32 +01:00
memleak.sh test: reduce verbosity of new test 2022-05-29 16:59:32 +02:00
notify.sh test: use new logger() function in all tests 2022-05-22 22:10:11 +02:00
opts.sh test: minor, shellcheck fixes 2022-03-06 01:10:32 +01:00
remote.sh Fix #5&: failure to reset socket count on SIGHUP 2022-07-26 07:47:09 +02:00
rotate_all.sh test: use new logger() function in all tests 2022-05-22 22:10:11 +02:00
secure.sh test: new test, verifies .conf option secure_mode 2022-05-22 22:10:12 +02:00
unicode.sh test: use new logger() function in all tests 2022-05-22 22:10:11 +02:00