summaryrefslogtreecommitdiff
path: root/regress/sys/kern/splice/args-oobinline-nonblock.pl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/splice/args-oobinline-nonblock.pl')
-rw-r--r--regress/sys/kern/splice/args-oobinline-nonblock.pl22
1 files changed, 22 insertions, 0 deletions
diff --git a/regress/sys/kern/splice/args-oobinline-nonblock.pl b/regress/sys/kern/splice/args-oobinline-nonblock.pl
new file mode 100644
index 00000000000..31e3f69d92a
--- /dev/null
+++ b/regress/sys/kern/splice/args-oobinline-nonblock.pl
@@ -0,0 +1,22 @@
+# test inline out-of-band data with non-blocking relay
+
+use strict;
+use warnings;
+
+our %args = (
+ client => {
+ func => \&write_oob,
+ },
+ relay => {
+ oobinline => 1,
+ nonblocking => 1,
+ },
+ server => {
+ func => \&read_oob,
+ oobinline => 1,
+ },
+ len => 251,
+ md5 => "24b69642243fee9834bceee5b47078ae",
+);
+
+1;