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 | 3d43008fc1af31f5d3343eb8c58818bfeef0ed5f (patch) | |
tree | c6636919285249b381c67e98f66041f155096c8d /regress/usr.sbin | |
parent | 310dcd3d8b8823edab29ec7c12df709a35e7ffc5 (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 'regress/usr.sbin')
-rw-r--r-- | regress/usr.sbin/syslogd/Client.pm | 2 | ||||
-rw-r--r-- | regress/usr.sbin/syslogd/Server.pm | 2 | ||||
-rw-r--r-- | regress/usr.sbin/syslogd/funcs.pl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.sbin/syslogd/Client.pm b/regress/usr.sbin/syslogd/Client.pm index 0de6e78ca4a..202540d18d0 100644 --- a/regress/usr.sbin/syslogd/Client.pm +++ b/regress/usr.sbin/syslogd/Client.pm @@ -1,4 +1,4 @@ -# $OpenBSD: Client.pm,v 1.1.1.1 2014/08/20 20:52:14 bluhm Exp $ +# $OpenBSD: Client.pm,v 1.1 2014/08/20 20:52:14 bluhm Exp $ # Copyright (c) 2010-2014 Alexander Bluhm <bluhm@openbsd.org> # diff --git a/regress/usr.sbin/syslogd/Server.pm b/regress/usr.sbin/syslogd/Server.pm index 2b3087b0c89..5b5397937fb 100644 --- a/regress/usr.sbin/syslogd/Server.pm +++ b/regress/usr.sbin/syslogd/Server.pm @@ -1,4 +1,4 @@ -# $OpenBSD: Server.pm,v 1.1.1.1 2014/08/20 20:52:14 bluhm Exp $ +# $OpenBSD: Server.pm,v 1.1 2014/08/20 20:52:14 bluhm Exp $ # Copyright (c) 2010-2014 Alexander Bluhm <bluhm@openbsd.org> # diff --git a/regress/usr.sbin/syslogd/funcs.pl b/regress/usr.sbin/syslogd/funcs.pl index 593dd5a5012..181911758c8 100644 --- a/regress/usr.sbin/syslogd/funcs.pl +++ b/regress/usr.sbin/syslogd/funcs.pl @@ -1,4 +1,4 @@ -# $OpenBSD: funcs.pl,v 1.1.1.1 2014/08/20 20:52:14 bluhm Exp $ +# $OpenBSD: funcs.pl,v 1.1 2014/08/20 20:52:14 bluhm Exp $ # Copyright (c) 2010-2014 Alexander Bluhm <bluhm@openbsd.org> # |