summaryrefslogtreecommitdiff
path: root/regress/sys/kern/splice/args-reverse-sleep-client.pl
blob: 244e65dc85bfcf95dc6bf5af3f6a10099e05e984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# test delay before client read when reverse sending

use strict;
use warnings;

our %args = (
    client => {
	func => sub { sleep 3; read_char(@_); },
    },
    relay => {
	func => sub { ioflip(@_); relay(@_); },
    },
    server => {
	func => \&write_char,
	len => 2**17,
    },
    len => 131072,
    md5 => "31e5ad3d0d2aeb1ad8aaa847dfa665c2",
);

1;