summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/relayd/args-timeput.pl
blob: 8322d2e9107423fbfa848c8d356fcf64c07feeec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# test that 2 seconds timeout does not occur while client writes for 4 seconds

use strict;
use warnings;

our %args = (
    client => {
	func => \&write_char,
	len => 5,
	sleep => 1,
	timefile => "",
    },
    relayd => {
	relay => [ "session timeout 2" ],
	loggrep => { qr/(buffer event|splice) timeout/ => 0 },
    },
    len => 5,
);

1;