diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2011-01-07 22:06:09 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2011-01-07 22:06:09 +0000 |
commit | 288eb9bdabfd29a4643657cee203bd87068d9425 (patch) | |
tree | 6e580e504fff76e283741f51e0a6742ef40359c9 /regress/sys/kern/splice/args-oobinline.pl | |
parent | 3a2bd2908bcd71d2b15fc9ea62ac8a08d5c304db (diff) |
Add kernel regression tests for socket splicing.
Diffstat (limited to 'regress/sys/kern/splice/args-oobinline.pl')
-rw-r--r-- | regress/sys/kern/splice/args-oobinline.pl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/regress/sys/kern/splice/args-oobinline.pl b/regress/sys/kern/splice/args-oobinline.pl new file mode 100644 index 00000000000..7de0bcb55a0 --- /dev/null +++ b/regress/sys/kern/splice/args-oobinline.pl @@ -0,0 +1,21 @@ +# test inline out-of-band data + +use strict; +use warnings; + +our %args = ( + client => { + func => \&write_oob, + }, + relay => { + oobinline => 1, + }, + server => { + func => \&read_oob, + oobinline => 1, + }, + len => 251, + md5 => "24b69642243fee9834bceee5b47078ae", +); + +1; |