summaryrefslogtreecommitdiff
path: root/regress/sys/kern/sosplice/udp/args-maxcopy-sleep-client.pl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/sosplice/udp/args-maxcopy-sleep-client.pl')
-rw-r--r--regress/sys/kern/sosplice/udp/args-maxcopy-sleep-client.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/regress/sys/kern/sosplice/udp/args-maxcopy-sleep-client.pl b/regress/sys/kern/sosplice/udp/args-maxcopy-sleep-client.pl
index 906019b996d..a46b4ff98ca 100644
--- a/regress/sys/kern/sosplice/udp/args-maxcopy-sleep-client.pl
+++ b/regress/sys/kern/sosplice/udp/args-maxcopy-sleep-client.pl
@@ -1,4 +1,5 @@
-# test with multiple packets, client sleeps before and during send
+# test maximum data length then copy packets,
+# client sleeps before and during writing
use strict;
use warnings;
@@ -9,12 +10,14 @@ my @lengths = (5, 4, 3, 2, 1, 0);
our %args = (
client => {
func => sub { sleep 3; write_datagram(@_); },
+ sleep => 1,
lengths => \@lengths,
},
relay => {
idle => 5,
func => sub { relay(@_); relay_copy(@_); },
max => 9,
+ big => 1,
timeout => 1,
nocheck => 1,
},