Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix some races in syslogd tests. Fewer handshakes in TLS 1.3 make | 2020-11-06 | 1 | -1/+11 | |
| | | | | the error messages and behavior less deterministic. | ||||
* | Rsyslogd TLS client side is unreliable. Disable compatiblity test. | 2019-09-17 | 1 | -3/+3 | |
| | |||||
* | If rsyslogd is not installed, explicitly skip these syslogd | 2019-09-10 | 1 | -3/+3 | |
| | | | | | compatibility tests. Fix some races and increase the timeout for rsyslog tests. | ||||
* | In the sendsyslog-dropped test the client has to write a log message | 2018-05-22 | 1 | -3/+3 | |
| | | | | | | 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. | ||||
* | lenght->length, mostly in comments | 2017-11-27 | 1 | -5/+5 | |
| | |||||
* | Check that the hostname added by syslogd -h in file and server log | 2017-09-13 | 1 | -4/+56 | |
| | | | | | is correct. Use generic redo functions. Do syntax check for all Perl files. | ||||
* | Adapt test to new syslogd's local message priority. | 2017-04-07 | 1 | -3/+3 | |
| | |||||
* | Check that local syslog messages have the the expected priority. | 2017-04-06 | 1 | -1/+31 | |
| | |||||
* | System call sendsyslog2 is gone, adapt tests. | 2016-03-21 | 1 | -16/+5 | |
| | |||||
* | Test logging to console by redirecting the system's console into a | 2015-12-30 | 1 | -6/+12 | |
| | | | | | | | file. All subtests get an additional /dev/console entry in syslog.conf, then check that messages appear in the console file. Add a test that stops syslogd, calls sendsyslog2() with LOG_CONS and checks that the message appears in the console file. | ||||
* | Add tests that call the syscalls sendsyslog(2) and sendsyslog2(2) | 2015-12-04 | 1 | -3/+16 | |
| | | | | directly. | ||||
* | Check that syslogd delays a blocking write to tty and that that all | 2015-10-23 | 1 | -1/+7 | |
| | | | | messages still appear on the tty. | ||||
* | Test syslogd logging to a tty which belongs to a user. This is | 2015-10-19 | 1 | -3/+3 | |
| | | | | | done with a utmp entry for a pty fake login. All messages are read from the pty and written into a log file. | ||||
* | Add tests for syslogd TLS accept and receive encrypted messages. | 2015-10-09 | 1 | -2/+2 | |
| | |||||
* | Test that syslogd can process 8 full size messages from sendsyslog(2) | 2015-09-09 | 1 | -2/+11 | |
| | | | | or UDP socket or UNIX domain socket at once. | ||||
* | Test octet counting and non transparent framing. | 2015-07-19 | 1 | -3/+3 | |
| | |||||
* | Test that syslogd does not append white spaces to messages. Per | 2015-07-16 | 1 | -5/+20 | |
| | | | | default the test pattern is stricter now. Also do some test cleanup | ||||
* | Add tests for incomming syslog messages over TCP. | 2015-07-07 | 1 | -19/+30 | |
| | |||||
* | Add tests for the !prog and !!prog and !* keywords in syslog.conf. | 2015-06-28 | 1 | -1/+18 | |
| | |||||
* | Rework how fstat and ktrace pattern are specified in the test | 2015-06-15 | 1 | -15/+11 | |
| | | | | | | | arguments. Add tests to check wether syslogd privsep works. This is done for debug and foreground and daemon mode. Fstat is checked for chroot and sockets. Ktrace dump is grepped for setting uid and gid. | ||||
* | Make syslogd tests more reliable. Increase the allowed range of | 2015-02-12 | 1 | -2/+2 | |
| | | | | lost log messages. Improve the synchronisation of client and server. | ||||
* | Make syslogd tests more reliable. Allow a range of certain log | 2015-02-11 | 1 | -13/+16 | |
| | | | | | | 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. | ||||
* | Make syslogd test more reliable. Use Time::HiRes to sleep .01 | 2015-02-11 | 1 | -1/+2 | |
| | | | | | | | 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. | ||||
* | Change syslog tests from transparent framing to octet counting. | 2015-02-08 | 1 | -5/+17 | |
| | | | | Add tests for truncated buffer handling. | ||||
* | Add syslogd tests for dropped messages. | 2015-02-06 | 1 | -15/+36 | |
| | |||||
* | Test that long syslog messages are truncated correctly. | 2015-02-02 | 1 | -3/+44 | |
| | |||||
* | Make syslogd tests more reliable on slow machines. All tests pass | 2015-01-22 | 1 | -1/+5 | |
| | | | | on my old sparc64. | ||||
* | Add regression tests for syslog over TLS. | 2015-01-16 | 1 | -1/+2 | |
| | |||||
* | Add a test for syslogd that reconnects to a TCP syslog server after | 2015-01-15 | 1 | -5/+10 | |
| | | | | an established connection has been closed. | ||||
* | Test that syslogd sending over TCP does not leak a file descriptor | 2015-01-01 | 1 | -6/+11 | |
| | | | | when it receives a SIGHUP. | ||||
* | Add regression tests where OpenBSD syslogd is sending messages to | 2014-12-28 | 1 | -1/+25 | |
| | | | | | | 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. | ||||
* | Add tests for syslogd's memory buffer and read it with syslogc. | 2014-09-13 | 1 | -27/+23 | |
| | |||||
* | Add tests that send log messages via unix domain sockets to syslogd. | 2014-09-03 | 1 | -1/+14 | |
| | | | | Also check that the maximum number of -a path is handled correctly. | ||||
* | To examine the operation of the signal handlers, the tests grep in | 2014-09-02 | 1 | -6/+7 | |
| | | | | | the ktrace output of syslogd. Also make the tests work without DNS and without sudo. | ||||
* | Add tests that run the syslogd signal handlers. | 2014-09-02 | 1 | -9/+52 | |
| | |||||
* | Make the syslogd regression tests more reliable. Other processes | 2014-08-29 | 1 | -2/+18 | |
| | | | | | on the system may create log entries during the test run that show up in the log file. Ignore those additional lines. | ||||
* | Add tests for syslogd sending and receiving over IPv6 sockets. | 2014-08-25 | 1 | -2/+2 | |
| | |||||
* | Run syslogd regressions tests. As only one syslogd can run per | 2014-08-20 | 1 | -0/+183 | |
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. |