summaryrefslogtreecommitdiffstats
path: root/regress/sys/kern/sosplice/udp/args-idle-trickle.pl
blob: c5aad047a69973976ad712874d8c654c4836d103 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# test idle timeout, must not be to short

use strict;
use warnings;
use List::Util qw(sum);

my @lengths = (1, 2, 3);

our %args = (
    client => {
	lengths => \@lengths,
	sleep => 1,
    },
    relay => {
	idle => 2,
	timeout => 1,
    },
    len => sum(@lengths),
    lengths => "@lengths",
    md5 => "868972544a6c4312aa52568c8dfa2366",
);