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-max.pl | |
parent | 3a2bd2908bcd71d2b15fc9ea62ac8a08d5c304db (diff) |
Add kernel regression tests for socket splicing.
Diffstat (limited to 'regress/sys/kern/splice/args-max.pl')
-rw-r--r-- | regress/sys/kern/splice/args-max.pl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/regress/sys/kern/splice/args-max.pl b/regress/sys/kern/splice/args-max.pl new file mode 100644 index 00000000000..33d98d02130 --- /dev/null +++ b/regress/sys/kern/splice/args-max.pl @@ -0,0 +1,19 @@ +# test maximum data length + +use strict; +use warnings; + +our %args = ( + client => { + func => sub { errignore(@_); write_char(@_); }, + len => 2**17, + nocheck => 1, + }, + relay => { + max => 32117, + }, + len => 32117, + md5 => "ee338e9693fb2a2ec101bb28935ed123", +); + +1; |