Rework how fstat and ktrace pattern are specified in the test
authorbluhm <bluhm@openbsd.org>
Mon, 15 Jun 2015 21:44:57 +0000 (21:44 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 15 Jun 2015 21:44:57 +0000 (21:44 +0000)
commitf48a84a70c8ced255fc68039eca171a1ec9c86b2
treeaac6ccbb8f9b631919e349590ee50fb52811bc3c
parent5feb6878f491c13d19a819258ec7d0b14457b0d1
Rework how fstat and ktrace pattern are specified in the test
arguments.  Add tests to check wether syslogd privsep works.  This
is done for debug and foreground and daemon mode.  Fstat is checked
for chroot and sockets.  Ktrace dump is grepped for setting uid and
gid.
27 files changed:
regress/usr.sbin/syslogd/Makefile
regress/usr.sbin/syslogd/Syslogd.pm
regress/usr.sbin/syslogd/args-length-tcp.pl
regress/usr.sbin/syslogd/args-length-tls.pl
regress/usr.sbin/syslogd/args-length-udp.pl
regress/usr.sbin/syslogd/args-length-unix.pl
regress/usr.sbin/syslogd/args-length-vis.pl
regress/usr.sbin/syslogd/args-libevent-kqueue.pl
regress/usr.sbin/syslogd/args-libevent-poll.pl
regress/usr.sbin/syslogd/args-libevent-select.pl
regress/usr.sbin/syslogd/args-only4.pl
regress/usr.sbin/syslogd/args-only6.pl
regress/usr.sbin/syslogd/args-privsep-daemon.pl [new file with mode: 0644]
regress/usr.sbin/syslogd/args-privsep-foreground.pl [new file with mode: 0644]
regress/usr.sbin/syslogd/args-privsep.pl [new file with mode: 0644]
regress/usr.sbin/syslogd/args-sendsyslog.pl
regress/usr.sbin/syslogd/args-sighup-config.pl
regress/usr.sbin/syslogd/args-sighup-privsep.pl
regress/usr.sbin/syslogd/args-sighup-tcp.pl
regress/usr.sbin/syslogd/args-sighup-tls.pl
regress/usr.sbin/syslogd/args-sighup.pl
regress/usr.sbin/syslogd/args-sigpipe.pl
regress/usr.sbin/syslogd/args-sigterm.pl
regress/usr.sbin/syslogd/args-socket-tcp.pl
regress/usr.sbin/syslogd/args-socket-tls.pl
regress/usr.sbin/syslogd/args-socket.pl
regress/usr.sbin/syslogd/funcs.pl