diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-08-20 20:52:15 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-08-20 20:52:15 +0000 |
commit | 2aacc92a5fb0b5ab3a76565bfa6b22c362b385bf (patch) | |
tree | a352e2cc3ffa9f72df7db45f719434a68e94aa48 /sbin | |
parent | 29efbbe185d1ccc2e4b138238b35785cd48c489c (diff) |
Run syslogd regressions tests. As only one syslogd can run per
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.
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions