summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
AgeCommit message (Collapse)Author
2015-02-25Do not count the dropped messages strictly, so that the syslogdAlexander Bluhm
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.
2015-02-20The write again workaround in syslogd changes the dropped messageAlexander Bluhm
counter. Adapt tests.
2015-02-14Tests that syslogd uses the expected TLS version.Alexander Bluhm
2015-02-13Adapt the maxunix test, the syslogd -a error semantic has changed.Alexander Bluhm
Increase timeouts and remove races, so that the syslogd tests pass on my sparc64 machine.
2015-02-12Make syslogd tests more reliable. Increase the allowed range ofAlexander Bluhm
lost log messages. Improve the synchronisation of client and server.
2015-02-11Make syslogd tests more reliable. Allow a range of certain logAlexander Bluhm
messages, in case some got lost. Slow down client when sending multiple log messages. Sort patterns when checking log files. TLS error messages have changed, adapt tests.
2015-02-11Make syslogd test more reliable. Use Time::HiRes to sleep .01Alexander Bluhm
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.
2015-02-09Error messages form libtls have changed, adapt syslogd tests.Alexander Bluhm
2015-02-08Change syslog tests from transparent framing to octet counting.Alexander Bluhm
Add tests for truncated buffer handling.
2015-02-06Add syslogd tests for dropped messages.Alexander Bluhm
2015-02-02Test that long syslog messages are truncated correctly.Alexander Bluhm
2015-01-30TLS connect error message has changed, adapt tests.Alexander Bluhm
2015-01-28Add a test where the TLS handshake fails because of null ciphers.Alexander Bluhm
2015-01-28Test the x509 certificate validation of syslog over TLS.Alexander Bluhm
2015-01-22Make syslogd tests more reliable on slow machines. All tests passAlexander Bluhm
on my old sparc64.
2015-01-16Add test that exchanges database description packets with ospfd.Alexander Bluhm
From Florian Riehm.
2015-01-16Add regression tests for syslog over TLS.Alexander Bluhm
2015-01-15Add a test for syslogd that reconnects to a TCP syslog server afterAlexander Bluhm
an established connection has been closed.
2015-01-05Fix relayd http regression tests. If http response is not ok, theAlexander Bluhm
response's content length may be an unexpected value as an error page is shown.
2015-01-05Make syslogd TCP tests more reliable. Increase timeouts, shutdownAlexander Bluhm
write to trigger connection close, allow errors EPIPE or ECONNRESET.
2015-01-01Test that syslogd sending over TCP does not leak a file descriptorAlexander Bluhm
when it receives a SIGHUP.
2014-12-31Adapt and add regression tests for sending syslog messages over TCP.Alexander Bluhm
2014-12-31Create CA and certificates for TLS tests consistently. BetterAlexander Bluhm
logging of SSL errors. Do not import unneeded Socket constants.
2014-12-28Add regression tests where OpenBSD syslogd is sending messages toAlexander Bluhm
rsyslogd from ports. If the rsyslog package is installed, rsyslogd is used as drain to test interoperability. This will be especially useful for syslog via TCP and TLS.
2014-12-18Update test - the hashkey log message disappeared.Reyk Floeter
2014-12-14By now relayd expects tls in its config file and writes tls intoAlexander Bluhm
its log file. Change regression tests form ssl to tls.
2014-11-25Fix test.Daniel Dickman
ok bluhm@
2014-11-20fix things post signature, as noticed by various peopleMarc Espie
2014-10-29Add a test the checks the syslogd !prog !!prog !* feature.Alexander Bluhm
2014-10-05Test that the specified libevent backend kqueue(2) or poll(2) orAlexander Bluhm
select(2) is used by syslogd.
2014-10-03Add a test that checks that there are no trailing new-lines orAlexander Bluhm
spaces in the syslog messages.
2014-09-20texlive blasts thru the 999 chunks barrierMarc Espie
2014-09-20a small debug script to extract chunks from a chunked archive, as it isMarc Espie
very difficult to do so with standard tools
2014-09-13Add tests for syslogd's memory buffer and read it with syslogc.Alexander Bluhm
2014-09-04Check that messages from sendsyslog(2) or unix domain sockets containAlexander Bluhm
the short host name.
2014-09-03Add tests that send log messages via unix domain sockets to syslogd.Alexander Bluhm
Also check that the maximum number of -a path is handled correctly.
2014-09-02To examine the operation of the signal handlers, the tests grep inAlexander Bluhm
the ktrace output of syslogd. Also make the tests work without DNS and without sudo.
2014-09-02Add tests that run the syslogd signal handlers.Alexander Bluhm
2014-08-20Run syslogd regressions tests. As only one syslogd can run perAlexander Bluhm
machine, each test kills any syslogd first. At the end the system's syslogd gets restarted. The test framework runs a client, and a server, and a syslogd. The messages are passed via the log socket or via UDP from the client to syslogd. From there UDP transport is used to reach the server. All processes write log files where the message has to show up. The test arguments are kept in the args-*.pl files. The content of a log file, the data sent to a pipe process and what the server received are checked. The invocation of the sendsyslog(2) syscall is checked with ktrace, the open file descriptors of syslogd are checked with fstat.
2014-08-29Make the syslogd regression tests more reliable. Other processesAlexander Bluhm
on the system may create log entries during the test run that show up in the log file. Ignore those additional lines.
2014-08-29Prepare for testing libevent in syslogd. Pass the EVENT_NO...Alexander Bluhm
environment variables over sudo into syslogd. Run the tests with the select(2) and poll(2) and kqueue(2) backend. Call "make libevent" for these tests.
2014-08-20Run syslogd regressions tests. As only one syslogd can run perAlexander Bluhm
machine, each test kills any syslogd first. At the end the system's syslogd gets restarted. The test framework runs a client, and a server, and a syslogd. The messages are passed via the log socket or via UDP from the client to syslogd. From there UDP transport is used to reach the server. All processes write log files where the message has to show up. The test arguments are kept in the args-*.pl files. The content of a log file, the data sent to a pipe process and what the server received are checked. The invocation of the sendsyslog(2) syscall is checked with ktrace, the open file descriptors of syslogd are checked with fstat.
2014-08-27Remove $_ usage that warns under Perl 5.18.Kent R. Spillner
Yep espie@
2014-08-26Update regress to follow openssl(1) move.Joel Sing
2014-08-25Add tests where the IP address family has been chosen by -4 or -6Alexander Bluhm
command line switch and udp4:// or udp6:// loghost prefix.
2014-08-25Add tests for syslogd sending and receiving over IPv6 sockets.Alexander Bluhm
2014-08-20Run syslogd regressions tests. As only one syslogd can run perAlexander Bluhm
machine, each test kills any syslogd first. At the end the system's syslogd gets restarted. The test framework runs a client, and a server, and a syslogd. The messages are passed via the log socket or via UDP from the client to syslogd. From there UDP transport is used to reach the server. All processes write log files where the message has to show up. The test arguments are kept in the args-*.pl files. The content of a log file, the data sent to a pipe process and what the server received are checked. The invocation of the sendsyslog(2) syscall is checked with ktrace, the open file descriptors of syslogd are checked with fstat.
2014-08-20Link ospfd and syslogd regression tests to the build.Alexander Bluhm
2014-08-20Run syslogd regressions tests. As only one syslogd can run perAlexander Bluhm
machine, each test kills any syslogd first. At the end the system's syslogd gets restarted. The test framework runs a client, and a server, and a syslogd. The messages are passed via the log socket or via UDP from the client to syslogd. From there UDP transport is used to reach the server. All processes write log files where the message has to show up. The test arguments are kept in the args-*.pl files. The content of a log file, the data sent to a pipe process and what the server received are checked. The invocation of the sendsyslog(2) syscall is checked with ktrace, the open file descriptors of syslogd are checked with fstat.
2014-08-18Make the perl modules consistent for the multiple regression tests.Alexander Bluhm
This includes coding style, better error messages and variable naming.