use strict;
use warnings;
+use Errno ':POSIX';
use Socket;
+my @errors = (EPIPE);
+my $errors = "(". join("|", map { $! = $_ } @errors). ")";
+
our %args = (
syslogd => {
loghost => '@tls://localhost:$connectport',
exit => 255,
loggrep => {
qr/listen sock: (127.0.0.1|::1) \d+/ => 1,
- qr/SSL accept attempt failed error:/.
- qr/.*ST_ACCEPT:tlsv1 alert unknown ca/ => 1,
+ qr/IO::Socket::SSL socket accept failed: /.
+ qr/.*,SSL accept attempt failed error:.*/.
+ qr/(ST_ACCEPT:tlsv1 alert unknown ca|$errors)/ => 1,
get_testgrep() => 0,
},
},