summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/syslogd/args-dropped-tls.pl
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2019-01-18 15:46:15 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2019-01-18 15:46:15 +0000
commitdfa8900dd35fb7107b77995f7e702e912e7820d5 (patch)
treeb3aad3236a7bf9a49d63ca2ae623e33c3e090632 /regress/usr.sbin/syslogd/args-dropped-tls.pl
parent445873c51e6890c5170997471af4c3c22fbeeed5 (diff)
Adapt expected number of dropped messages after sendsyslog(2) kernel
buffer size has changed.
Diffstat (limited to 'regress/usr.sbin/syslogd/args-dropped-tls.pl')
-rw-r--r--regress/usr.sbin/syslogd/args-dropped-tls.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.sbin/syslogd/args-dropped-tls.pl b/regress/usr.sbin/syslogd/args-dropped-tls.pl
index 52c1735ed0a..81a84ff2548 100644
--- a/regress/usr.sbin/syslogd/args-dropped-tls.pl
+++ b/regress/usr.sbin/syslogd/args-dropped-tls.pl
@@ -31,24 +31,24 @@ our %args = (
loggrep => {
get_between2loggrep(),
get_charlog() => 400,
- qr/ \(dropped\)/ => '~68',
+ qr/ \(dropped\)/ => '~65',
qr/SSL3_WRITE_PENDING/ => 0,
},
},
server => {
listen => { domain => AF_UNSPEC, proto => "tls", addr => "localhost" },
+ rcvbuf => 2**12,
func => sub {
my $self = shift;
${$self->{syslogd}}->loggrep(get_thirdlog(), 20)
or die ref($self), " syslogd did not receive third log";
read_log($self);
},
- rcvbuf => 2**12,
loggrep => {
get_between2loggrep(),
get_secondlog() => 1,
get_thirdlog() => 0,
- get_charlog() => '~333',
+ get_charlog() => '~336',
qr/syslogd\[\d+\]: dropped [67][0-9] messages to loghost/ => 1,
},
},