diff options
Diffstat (limited to 'regress/usr.sbin/relayd/args-timeput.pl')
-rw-r--r-- | regress/usr.sbin/relayd/args-timeput.pl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/regress/usr.sbin/relayd/args-timeput.pl b/regress/usr.sbin/relayd/args-timeput.pl new file mode 100644 index 00000000000..8322d2e9107 --- /dev/null +++ b/regress/usr.sbin/relayd/args-timeput.pl @@ -0,0 +1,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; |