summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2015-02-20 01:30:42 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2015-02-20 01:30:42 +0000
commit0ee977038256491aa324b89f054d4feedc4e67c2 (patch)
tree23313bd982abed10648b4435c482606258accbf9 /regress
parent0149a55551eebf31414cfb9bb23a71375c8a8d3f (diff)
The write again workaround in syslogd changes the dropped message
counter. Adapt tests.
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.sbin/syslogd/args-dropped-sighup-tls.pl2
-rw-r--r--regress/usr.sbin/syslogd/args-dropped-sigterm-tls.pl2
-rw-r--r--regress/usr.sbin/syslogd/args-dropped-tls.pl8
3 files changed, 6 insertions, 6 deletions
diff --git a/regress/usr.sbin/syslogd/args-dropped-sighup-tls.pl b/regress/usr.sbin/syslogd/args-dropped-sighup-tls.pl
index 4a3a51f460f..e3dd15ac8e6 100644
--- a/regress/usr.sbin/syslogd/args-dropped-sighup-tls.pl
+++ b/regress/usr.sbin/syslogd/args-dropped-sighup-tls.pl
@@ -29,7 +29,7 @@ our %args = (
loggrep => {
get_between2loggrep(),
get_charlog() => 300,
- qr/ \(dropped\)/ => '~16',
+ qr/ \(dropped.*\)/ => '~38',
qr/SSL3_WRITE_PENDING/ => 0,
},
},
diff --git a/regress/usr.sbin/syslogd/args-dropped-sigterm-tls.pl b/regress/usr.sbin/syslogd/args-dropped-sigterm-tls.pl
index 4320ff612b5..c28dd8d98c1 100644
--- a/regress/usr.sbin/syslogd/args-dropped-sigterm-tls.pl
+++ b/regress/usr.sbin/syslogd/args-dropped-sigterm-tls.pl
@@ -28,7 +28,7 @@ our %args = (
loghost => '@tls://localhost:$connectport',
loggrep => {
get_charlog() => 300,
- qr/ \(dropped\)/ => '~19',
+ qr/ \(dropped.*\)/ => '~42',
qr/SSL3_WRITE_PENDING/ => 0,
},
},
diff --git a/regress/usr.sbin/syslogd/args-dropped-tls.pl b/regress/usr.sbin/syslogd/args-dropped-tls.pl
index 3400ff8df07..d6cbb4030b1 100644
--- a/regress/usr.sbin/syslogd/args-dropped-tls.pl
+++ b/regress/usr.sbin/syslogd/args-dropped-tls.pl
@@ -31,7 +31,7 @@ our %args = (
loggrep => {
get_between2loggrep(),
get_charlog() => 300,
- qr/ \(dropped\)/ => '~16',
+ qr/ \(dropped.*\)/ => '~40',
qr/SSL3_WRITE_PENDING/ => 0,
},
},
@@ -47,8 +47,8 @@ our %args = (
get_between2loggrep(),
get_secondlog() => 1,
get_thirdlog() => 0,
- get_charlog() => '~285',
- qr/syslogd: dropped 1[0-9] messages to loghost "\@tls:.*"/ => 1,
+ get_charlog() => '~263',
+ qr/syslogd: dropped [34][0-9] messages to loghost "\@tls:.*"/ => 1,
},
},
file => {
@@ -57,7 +57,7 @@ our %args = (
get_secondlog() => 1,
get_thirdlog() => 1,
get_charlog() => 300,
- qr/syslogd: dropped 1[0-9] messages to loghost "\@tls:.*"/ => 1,
+ qr/syslogd: dropped [34][0-9] messages to loghost "\@tls:.*"/ => 1,
},
},
);