Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Check that syslogd(8) is still running if non critical errors happen | 2017-03-24 | 1 | -0/+42 | ||
| | | | | during startup. | |||||
* | Adapt regex in syslogd test to the new shiny libssl error messages. | 2017-02-07 | 5 | -12/+13 | ||
| | ||||||
* | Mark the IO::Socket::SSL server socket with SSL_server to avoid | 2017-01-31 | 1 | -1/+2 | ||
| | | | | OCSP error messages. | |||||
* | The libssl and libcrypto error messages have changed. Adapt the | 2017-01-31 | 5 | -12/+12 | ||
| | | | | regex for the expected output in the log files. | |||||
* | Test listening on multiple sockets simultaneously. | 2017-01-02 | 3 | -2/+116 | ||
| | ||||||
* | Now libtls creates nicer certificate verification error messages. | 2016-12-30 | 2 | -3/+4 | ||
| | | | | Adapt regex in syslogd test. | |||||
* | Test that the syslogd program can be started with a relative path. | 2016-12-27 | 2 | -3/+41 | ||
| | ||||||
* | To test the pipe feature, a dd is started and writing into a log | 2016-11-28 | 1 | -4/+22 | ||
| | | | | | | file as user _syslogd. Since /usr/obj is 0770 now, user _syslogd cannot access this file there anymore. Create pipe.log in temporary directory in /tmp instead. | |||||
* | Create the sys/syscall.ph header file on demand for the sendsyslog(2) | 2016-11-15 | 1 | -2/+6 | ||
| | | | | tests since Perl headers are not installed by default anymore. | |||||
* | In rare cases the number of dropped messages changes a bit more. | 2016-10-13 | 4 | -6/+6 | ||
| | | | | Make regex less strict. | |||||
* | Fix races during syslogd startup and shutdown in privsep tests. | 2016-10-12 | 4 | -12/+46 | ||
| | ||||||
* | The TLS error message depends on the generated fake certificate. | 2016-10-10 | 2 | -4/+2 | ||
| | | | | Make the test's expectation less strict. | |||||
* | Check that syslogd priv process does exec on itself. | 2016-10-06 | 8 | -11/+17 | ||
| | ||||||
* | Add millisecond precision to expected timestamp. | 2016-10-06 | 1 | -1/+1 | ||
| | ||||||
* | Add test for syslogd(8) -Z ISO timestamp format. | 2016-10-04 | 1 | -0/+79 | ||
| | ||||||
* | The TCP socket buffer size for syslogd has changed. Adapt tests | 2016-09-23 | 9 | -30/+57 | ||
| | | | | | | where we count the dropped messages. A different number gets stuck in the kernel buffers now which is not included in the syslogd statistics. | |||||
* | Test syslogd TLS client certificate validation. | 2016-09-21 | 7 | -10/+140 | ||
| | ||||||
* | Print SKIPPED if a regress test cannot be executed for some reason. | 2016-09-02 | 1 | -1/+2 | ||
| | | | | This allows to identify such tests by looking at their output. | |||||
* | Syslogd tls config error messages have changed, adapt tests. | 2016-08-29 | 3 | -4/+4 | ||
| | ||||||
* | Some syslogd tests failed to report errors. Make these tests more | 2016-08-23 | 7 | -23/+38 | ||
| | | | | strict and adapt the check patterns. | |||||
* | syslogd(8) uses new libtls certificate and key file loading. So | 2016-08-17 | 5 | -5/+5 | ||
| | | | | the tests behave a little bit different now. | |||||
* | Allow to run the syslogd tests as root without SUDO also if the | 2016-07-12 | 1 | -2/+2 | ||
| | | | | libevent method environment is set. | |||||
* | Add regression tests for syslogd TLS client certificates. | 2016-07-12 | 4 | -11/+89 | ||
| | ||||||
* | Revert previous adaption of the test. The behavior change in libtls | 2016-07-11 | 1 | -1/+1 | ||
| | | | | has been backed out. | |||||
* | Now libtls is always reading cert.pem during tls_config_new(). | 2016-07-06 | 1 | -1/+1 | ||
| | | | | Adapt ktrace count in syslogd test. | |||||
* | Timing changed, now a syslogd test may get EPIPE instead of | 2016-07-01 | 1 | -1/+1 | ||
| | | | | ECONNREFUSED error. | |||||
* | Syslogd can send messages to a user, test what happens if the | 2016-06-22 | 2 | -5/+26 | ||
| | | | | | | terminal is blocking to receive messages. Stop the fake user terminal and look for a delayed write debug message from syslogd. This makes the test more reliable. | |||||
* | When connecting to a non existing tcp listen socket on localhost, | 2016-05-29 | 2 | -15/+18 | ||
| | | | | | | connect(2) does no longer fail immediately. It reports EINPROGRESS first, an ECONNREFUSED or EPIPE error follows later. Allow this changed behavior in syslogd(8) regression tests. | |||||
* | Fix some Perl statements perlcritic was bitching about: Variable | 2016-05-03 | 2 | -5/+6 | ||
| | | | | declared in conditional statement. | |||||
* | To test syslogd compatibility rsyslog is used as remote server. | 2016-05-03 | 7 | -6/+13 | ||
| | | | | New rsyslog has other options and debug output, adapt test. | |||||
* | Kdump contains LOG_CONS now. TLS error message changes. | 2016-03-29 | 2 | -2/+2 | ||
| | | | | Adapt grep regex in syslogd tests. | |||||
* | System call sendsyslog2 is gone, adapt tests. | 2016-03-21 | 7 | -46/+34 | ||
| | ||||||
* | When syslogd is not running, check that no syslog priority or dropped | 2016-01-07 | 1 | -3/+26 | ||
| | | | | message is logged to the console by the kernel. | |||||
* | Test logging to console by redirecting the system's console into a | 2015-12-30 | 14 | -103/+185 | ||
| | | | | | | | 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 | 7 | -9/+72 | ||
| | | | | directly. | |||||
* | replace setbuf with setvbuf, from Frederic Nowak | 2015-11-04 | 1 | -1/+1 | ||
| | ||||||
* | Generating the self-signed syslogd test certificate does not depend | 2015-11-04 | 1 | -2/+2 | ||
| | | | | on the CA certificate. Found by Jan Klemkow. | |||||
* | Test that rsyslogd can send over TLS to OpenBSD syslogd. | 2015-11-02 | 4 | -5/+65 | ||
| | ||||||
* | As syslog(3) in libc no longer inserts the timestamp, the maximum | 2015-10-31 | 1 | -3/+4 | ||
| | | | | | message length that may be generated by syslogd got longer. Adapt the test. | |||||
* | Handling of bogus CA file has changed in syslogd. Adapt tests to | 2015-10-24 | 2 | -2/+2 | ||
| | | | | new error messages. | |||||
* | Test syslogd with empty or non existing server certificates and | 2015-10-23 | 4 | -0/+214 | ||
| | | | | keys. | |||||
* | Check that syslogd delays a blocking write to tty and that that all | 2015-10-23 | 6 | -17/+80 | ||
| | | | | messages still appear on the tty. | |||||
* | Test syslogd logging to a tty which belongs to a user. This is | 2015-10-19 | 31 | -55/+284 | ||
| | | | | | 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 | 13 | -9/+449 | ||
| | ||||||
* | In libtls connection error EOF has changed to connection close. | 2015-09-25 | 2 | -7/+7 | ||
| | | | | Adapt syslogd tests. | |||||
* | Adapt test to 50MB CAfile limit. | 2015-09-11 | 2 | -3/+3 | ||
| | ||||||
* | Check that there are no illegal spaces in the sendsyslog message. | 2015-09-11 | 1 | -1/+1 | ||
| | ||||||
* | Grep for new error messages about tls_connect_socket. Libtls now | 2015-09-10 | 10 | -13/+17 | ||
| | | | | reports handshake failed. Make bufsize tests more reliable. | |||||
* | Add args-bufsize-native.pl that checks wether libc syslog(3) can | 2015-09-09 | 3 | -0/+48 | ||
| | | | | | handle 8192 bytes messages. Rename the sendsyslog(2) tests consistently. | |||||
* | Test that syslogd can process 8 full size messages from sendsyslog(2) | 2015-09-09 | 5 | -4/+162 | ||
| | | | | or UDP socket or UNIX domain socket at once. |