summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/syslogd/args-sighup-tcp.pl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.sbin/syslogd/args-sighup-tcp.pl')
-rw-r--r--regress/usr.sbin/syslogd/args-sighup-tcp.pl14
1 files changed, 5 insertions, 9 deletions
diff --git a/regress/usr.sbin/syslogd/args-sighup-tcp.pl b/regress/usr.sbin/syslogd/args-sighup-tcp.pl
index ba26557b0b3..5a6c8414224 100644
--- a/regress/usr.sbin/syslogd/args-sighup-tcp.pl
+++ b/regress/usr.sbin/syslogd/args-sighup-tcp.pl
@@ -19,9 +19,11 @@ our %args = (
loggrep => { get_between2loggrep() },
},
syslogd => {
- ktrace => 1,
- fstat => 1,
- kdump => {
+ fstat => {
+ # sighup must not leak a TCP socket
+ qr/internet stream tcp/ => 1,
+ },
+ ktrace => {
qr/syslogd PSIG SIGHUP caught handler/ => 1,
qr/syslogd RET execve 0/ => 1,
},
@@ -57,12 +59,6 @@ our %args = (
qr/Accepted/ => 2,
},
},
- fstat => {
- loggrep => {
- # sighup must not leak a TCP socket
- qr/internet stream tcp/ => 1,
- },
- },
);
1;