History log of /openbsd-current/regress/usr.sbin/syslogd/args-sync-tcp.pl
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.13 10-Dec-2022 anton

Make the accepted log grep pattern more strict in order to not pick up any log
entries from sshd causing intermittent failures.

Discussed with bluhm@ back in August this year.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.12 22-May-2018 bluhm

In the sendsyslog-dropped test the client has to write a log message
before syslogd is running. To fix a race in regress, delay the
syslogd startup until the message has been written. For debugging
add the process class to all die messages.


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.11 13-Sep-2017 bluhm

Check that the hostname added by syslogd -h in file and server log
is correct. Use generic redo functions. Do syntax check for all
Perl files.


# 1.10 05-Apr-2017 bluhm

Syslogd's debug and error messages have changed a bit, adapt test.


Revision tags: OPENBSD_6_1_BASE
# 1.9 23-Sep-2016 bluhm

The TCP socket buffer size for syslogd has changed. Adapt tests
where we count the dropped messages. A different number gets stuck
in the kernel buffers now which is not included in the syslogd
statistics.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.8 03-Sep-2015 bluhm

Add test for sendsyslog(2) dropped message reporting.


Revision tags: OPENBSD_5_8_BASE
# 1.7 01-Aug-2015 bluhm

Make syslogd tests more reliable. Allow TLS tests to drop a wider
rage of messages and make dropped regexes more specific.


# 1.6 19-Jul-2015 bluhm

Test octet counting and non transparent framing.


Revision tags: OPENBSD_5_7_BASE
# 1.5 25-Feb-2015 bluhm

Do not count the dropped messages strictly, so that the syslogd
tests are depending less on the timing. Fix a race in the buffer
sync test. Now make regress of syslogd passes on my amd64, i386,
sparc64, alpha machines.


# 1.4 13-Feb-2015 bluhm

Adapt the maxunix test, the syslogd -a error semantic has changed.
Increase timeouts and remove races, so that the syslogd tests pass
on my sparc64 machine.


# 1.3 12-Feb-2015 bluhm

Make syslogd tests more reliable. Increase the allowed range of
lost log messages. Improve the synchronisation of client and server.


# 1.2 11-Feb-2015 bluhm

Make syslogd test more reliable. Use Time::HiRes to sleep .01
seconds in the write_lines() loop. This slows down the client, so
all messages reach syslogd and flood its buffers. Increase the
timeout to wait until all buffers are full. Use this code in all
TCP/TLS buffer and memory overflow tests.


# 1.1 08-Feb-2015 bluhm

Change syslog tests from transparent framing to octet counting.
Add tests for truncated buffer handling.


# 1.12 22-May-2018 bluhm

In the sendsyslog-dropped test the client has to write a log message
before syslogd is running. To fix a race in regress, delay the
syslogd startup until the message has been written. For debugging
add the process class to all die messages.


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.11 13-Sep-2017 bluhm

Check that the hostname added by syslogd -h in file and server log
is correct. Use generic redo functions. Do syntax check for all
Perl files.


# 1.10 05-Apr-2017 bluhm

Syslogd's debug and error messages have changed a bit, adapt test.


Revision tags: OPENBSD_6_1_BASE
# 1.9 23-Sep-2016 bluhm

The TCP socket buffer size for syslogd has changed. Adapt tests
where we count the dropped messages. A different number gets stuck
in the kernel buffers now which is not included in the syslogd
statistics.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.8 03-Sep-2015 bluhm

Add test for sendsyslog(2) dropped message reporting.


Revision tags: OPENBSD_5_8_BASE
# 1.7 01-Aug-2015 bluhm

Make syslogd tests more reliable. Allow TLS tests to drop a wider
rage of messages and make dropped regexes more specific.


# 1.6 19-Jul-2015 bluhm

Test octet counting and non transparent framing.


Revision tags: OPENBSD_5_7_BASE
# 1.5 25-Feb-2015 bluhm

Do not count the dropped messages strictly, so that the syslogd
tests are depending less on the timing. Fix a race in the buffer
sync test. Now make regress of syslogd passes on my amd64, i386,
sparc64, alpha machines.


# 1.4 13-Feb-2015 bluhm

Adapt the maxunix test, the syslogd -a error semantic has changed.
Increase timeouts and remove races, so that the syslogd tests pass
on my sparc64 machine.


# 1.3 12-Feb-2015 bluhm

Make syslogd tests more reliable. Increase the allowed range of
lost log messages. Improve the synchronisation of client and server.


# 1.2 11-Feb-2015 bluhm

Make syslogd test more reliable. Use Time::HiRes to sleep .01
seconds in the write_lines() loop. This slows down the client, so
all messages reach syslogd and flood its buffers. Increase the
timeout to wait until all buffers are full. Use this code in all
TCP/TLS buffer and memory overflow tests.


# 1.1 08-Feb-2015 bluhm

Change syslog tests from transparent framing to octet counting.
Add tests for truncated buffer handling.