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 does not pass it via a too long loghost name.
4# Find the message in client, file, pipe, syslogd log.
5# Check that the syslogd logs the error.
6
7use strict;
8use warnings;
9
10our %args = (
11    syslogd => {
12	loghost => '@'.('X'x300),
13	loggrep => {
14	    qr/syslogd: loghost too long "\@X+/ => 2,
15	    get_testlog() => 1,
16	},
17    },
18    server => {
19	noserver => 1,
20    },
21);
22
231;
24