artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5543f5e
)
Relax test regex, read or write error is possible.
author
bluhm
<bluhm@openbsd.org>
Tue, 12 Oct 2021 22:44:48 +0000
(22:44 +0000)
committer
bluhm
<bluhm@openbsd.org>
Tue, 12 Oct 2021 22:44:48 +0000
(22:44 +0000)
regress/usr.sbin/syslogd/args-server-tls-error.pl
patch
|
blob
|
history
diff --git
a/regress/usr.sbin/syslogd/args-server-tls-error.pl
b/regress/usr.sbin/syslogd/args-server-tls-error.pl
index
dea75ea
..
dad75a5
100644
(file)
--- a/
regress/usr.sbin/syslogd/args-server-tls-error.pl
+++ b/
regress/usr.sbin/syslogd/args-server-tls-error.pl
@@
-11,7
+11,7
@@
use warnings;
use Socket;
use Errno ':POSIX';
-my @errors = (ECONNRESET);
+my @errors = (ECONNRESET
, EPIPE
);
my $errors = "(". join("|", map { $! = $_ } @errors). ")";
our %args = (
@@
-43,7
+43,7
@@
our %args = (
file => {
loggrep => {
qr/syslogd\[\d+\]: loghost .* connection error: /.
- qr/
read
failed: .*$errors/ => 1,
+ qr/
(?:read|write)
failed: .*$errors/ => 1,
},
},
);