1# The client writes a message to Sys::Syslog native method. 2# The syslogd writes it into a file and through a pipe. 3# The syslogd passes it via UDP to the loghost. 4# The server receives the message on its UDP socket. 5# Syslogc lists the memory logs. 6# Find the message in client, file, pipe, syslogd, server log. 7# Check that syslogc -o does not report overflow. 8 9use strict; 10use warnings; 11 12our %args = ( 13 syslogd => { 14 memory => 1, 15 loggrep => { 16 qr/Accepting control connection/ => 1, 17 qr/ctlcmd 5/ => 1, 18 get_testgrep() => 1, 19 }, 20 }, 21 syslogc => { 22 options => ["-o", "memory"], 23 loggrep => { 24 qr/^memory/ => 0, 25 qr/overflowed/ => 0, 26 }, 27 }, 28); 29 301; 31