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 IPv6 UDP to the IPv4 loghost.
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 => '@udp6://127.0.0.1',
13	loggrep => {
14	    qr/syslogd\[\d+\]: bad hostname "\@udp6:\/\/127.0.0.1"/ => '>=1',
15	    get_testgrep() => 1,
16	},
17    },
18    server => {
19	noserver => 1,
20    },
21);
22
231;
24