diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-09-02 17:43:30 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-09-02 17:43:30 +0000 |
commit | 4552e977dde89ae0a314c36e7ad16f73d4b67107 (patch) | |
tree | 76e3367d3ed7ee0a56f897cd087cee2bd226d2d8 /regress/usr.sbin/syslogd/args-sigterm.pl | |
parent | 5b2a45069ddcae89c762de426e50fd4438b8de9d (diff) |
To examine the operation of the signal handlers, the tests grep in
the ktrace output of syslogd. Also make the tests work without DNS
and without sudo.
Diffstat (limited to 'regress/usr.sbin/syslogd/args-sigterm.pl')
-rw-r--r-- | regress/usr.sbin/syslogd/args-sigterm.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/regress/usr.sbin/syslogd/args-sigterm.pl b/regress/usr.sbin/syslogd/args-sigterm.pl index 7973e24a578..180274da833 100644 --- a/regress/usr.sbin/syslogd/args-sigterm.pl +++ b/regress/usr.sbin/syslogd/args-sigterm.pl @@ -20,6 +20,11 @@ our %args = ( loggrep => { get_between2loggrep() }, }, syslogd => { + ktrace => 1, + kdump => { + qr/syslogd PSIG SIGTERM caught handler/ => 1, + qr/syslogd RET execve 0/ => 1, + }, loggrep => qr/\[unpriv\] syslogd child about to exit/, }, server => { |