diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2011-03-12 18:58:55 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2011-03-12 18:58:55 +0000 |
commit | 30c1ecbeb90c0d739a2f8dd74d15e05b79aba36e (patch) | |
tree | 659e6830f5f0fffaf78f2fca9ae82d20ca92fceb /regress/sys/kern/splice/args-relay-read-blocking.pl | |
parent | aecea21552924c16781358d7983dc098272afbf9 (diff) |
Add more regression tests for socket splicing. These find the
kernel bugs that have slipped through.
Diffstat (limited to 'regress/sys/kern/splice/args-relay-read-blocking.pl')
-rw-r--r-- | regress/sys/kern/splice/args-relay-read-blocking.pl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/regress/sys/kern/splice/args-relay-read-blocking.pl b/regress/sys/kern/splice/args-relay-read-blocking.pl new file mode 100644 index 00000000000..0ecc4c12cf7 --- /dev/null +++ b/regress/sys/kern/splice/args-relay-read-blocking.pl @@ -0,0 +1,17 @@ +# test waiting for splice finish with blocking read + +use strict; +use warnings; + +our %args = ( + client => { + len => 2**17, + }, + relay => { + readblocking => 1, + }, + len => 131072, + md5 => "31e5ad3d0d2aeb1ad8aaa847dfa665c2", +); + +1; |