summaryrefslogtreecommitdiff
path: root/regress/sys/kern/sosplice/tcp/args-max-sleep-client-short.pl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/sosplice/tcp/args-max-sleep-client-short.pl')
-rw-r--r--regress/sys/kern/sosplice/tcp/args-max-sleep-client-short.pl16
1 files changed, 16 insertions, 0 deletions
diff --git a/regress/sys/kern/sosplice/tcp/args-max-sleep-client-short.pl b/regress/sys/kern/sosplice/tcp/args-max-sleep-client-short.pl
new file mode 100644
index 00000000000..a9dac043f23
--- /dev/null
+++ b/regress/sys/kern/sosplice/tcp/args-max-sleep-client-short.pl
@@ -0,0 +1,16 @@
+# test maximum data length with delay before client write
+
+use strict;
+use warnings;
+
+our %args = (
+ client => {
+ func => sub { sleep 3; write_stream(@_); },
+ nocheck => 1,
+ },
+ relay => {
+ max => 113,
+ },
+ len => 113,
+ md5 => "dc099ef642faa02bce71298f11e7d44d",
+);