diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-04-05 22:32:15 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-04-05 22:32:15 +0000 |
commit | c5017b1d1bd92903c20893dc82ceeb98642d0716 (patch) | |
tree | 2ade386e38dac8b2e289b90e7ee4917d408983ae /regress/usr.sbin/syslogd/args-dropped-tls.pl | |
parent | 972cfd83aa0001a3fbdd71ca99a0fc116d5d8310 (diff) |
Syslogd's debug and error messages have changed a bit, adapt test.
Diffstat (limited to 'regress/usr.sbin/syslogd/args-dropped-tls.pl')
-rw-r--r-- | regress/usr.sbin/syslogd/args-dropped-tls.pl | 6 |
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 a0610caf708..52c1735ed0a 100644 --- a/regress/usr.sbin/syslogd/args-dropped-tls.pl +++ b/regress/usr.sbin/syslogd/args-dropped-tls.pl @@ -22,7 +22,7 @@ our %args = ( write_message($self, get_thirdlog()); ${$self->{server}}->loggrep(get_secondlog(), 5) or die ref($self), " server did not receive second log"; - ${$self->{syslogd}}->loggrep(qr/syslogd: dropped \d+ messages?/, 5) + ${$self->{syslogd}}->loggrep(qr/: dropped \d+ messages? to/, 5) or die ref($self), " syslogd did not write dropped message"; })}, }, @@ -49,7 +49,7 @@ our %args = ( get_secondlog() => 1, get_thirdlog() => 0, get_charlog() => '~333', - qr/syslogd: dropped [67][0-9] messages to loghost/ => 1, + qr/syslogd\[\d+\]: dropped [67][0-9] messages to loghost/ => 1, }, }, file => { @@ -58,7 +58,7 @@ our %args = ( get_secondlog() => 1, get_thirdlog() => 1, get_charlog() => 400, - qr/syslogd: dropped [67][0-9] messages to loghost/ => 1, + qr/syslogd\[\d+\]: dropped [67][0-9] messages to loghost/ => 1, }, }, ); |