summaryrefslogtreecommitdiff
path: root/regress/sys/kern/splice/args-oobinline-max-sleep-server.pl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/splice/args-oobinline-max-sleep-server.pl')
-rw-r--r--regress/sys/kern/splice/args-oobinline-max-sleep-server.pl23
1 files changed, 23 insertions, 0 deletions
diff --git a/regress/sys/kern/splice/args-oobinline-max-sleep-server.pl b/regress/sys/kern/splice/args-oobinline-max-sleep-server.pl
new file mode 100644
index 00000000000..7f35a2cb405
--- /dev/null
+++ b/regress/sys/kern/splice/args-oobinline-max-sleep-server.pl
@@ -0,0 +1,23 @@
+# test inline out-of-band data with maximum data length delay before server
+
+use strict;
+use warnings;
+
+our %args = (
+ client => {
+ func => sub { errignore(@_); write_oob(@_); },
+ nocheck => 1,
+ },
+ relay => {
+ oobinline => 1,
+ max => 61,
+ nocheck => 1,
+ },
+ server => {
+ func => sub { sleep 3; read_oob(@_); },
+ },
+ len => 61,
+ md5 => "c9f459db9b4f369980c79bff17e1c2a0",
+);
+
+1;