summaryrefslogtreecommitdiffstats
path: root/regress/usr.sbin/syslogd/args-client-udp-nodns.pl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Test syslogd logging to a tty which belongs to a user. This isbluhm2015-10-191-0/+3
| | | | | done with a utmp entry for a pty fake login. All messages are read from the pty and written into a log file.
* Test that syslogd does not append white spaces to messages. Perbluhm2015-07-161-1/+9
| | | | default the test pattern is stricter now. Also do some test cleanup
* Add tests for syslogd's memory buffer and read it with syslogc.bluhm2014-09-131-1/+1
|
* Run syslogd regressions tests. As only one syslogd can run perbluhm2014-08-201-0/+23
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.