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 | 2d65fd7df74cadb6916e075d6cbeec713e1ceb09 (patch) | |
tree | 27be7b4c034d4bfc7e3c06d1141e2c58081e24e2 /regress/usr.sbin/syslogd | |
parent | d64de23f9be05f7dcd904422e44e156b34d737b9 (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/syslogd')
-rw-r--r-- | regress/usr.sbin/syslogd/Makefile | 2 | ||||
-rw-r--r-- | regress/usr.sbin/syslogd/Syslogd.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.sbin/syslogd/Makefile b/regress/usr.sbin/syslogd/Makefile index f3734001a5d..11ea2154a88 100644 --- a/regress/usr.sbin/syslogd/Makefile +++ b/regress/usr.sbin/syslogd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2014/08/20 20:52:14 bluhm Exp $ +# $OpenBSD: Makefile,v 1.1 2014/08/20 20:52:14 bluhm Exp $ # The following ports must be installed for the regression tests: # p5-IO-Socket-INET6 object interface for AF_INET and AF_INET6 domain sockets diff --git a/regress/usr.sbin/syslogd/Syslogd.pm b/regress/usr.sbin/syslogd/Syslogd.pm index dfa275c4fb0..e528074f5f9 100644 --- a/regress/usr.sbin/syslogd/Syslogd.pm +++ b/regress/usr.sbin/syslogd/Syslogd.pm @@ -1,4 +1,4 @@ -# $OpenBSD: Syslogd.pm,v 1.1.1.1 2014/08/20 20:52:14 bluhm Exp $ +# $OpenBSD: Syslogd.pm,v 1.1 2014/08/20 20:52:14 bluhm Exp $ # Copyright (c) 2010-2014 Alexander Bluhm <bluhm@openbsd.org> # Copyright (c) 2014 Florian Riehm <mail@friehm.de> |