1# The client writes a message with sendsyslog syscall.
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# Find the message in client, file, pipe, syslogd, server log.
6# Create a ktrace dump of the client and check that sendsyslog(2)
7# has been used.
8
9use strict;
10use warnings;
11
12our %args = (
13    client => {
14	connect => { domain => "sendsyslog" },
15	ktrace => {
16	    qr/CALL  (\(via syscall\) )?sendsyslog\(/ => 2,
17	    qr/GIO   fd -1 wrote \d+ bytes/ => 2,
18	    qr/RET   sendsyslog 0/ => 2,
19	},
20    },
21);
22
231;
24