summaryrefslogtreecommitdiff
path: root/regress/sys/kern/sosplice/tcp/args-max-sleep-server.pl
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2013-01-17 17:58:29 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2013-01-17 17:58:29 +0000
commit7a9b87fd9b226a425a85bf97abd0b3c89485c138 (patch)
tree664ef764ab84d4d29335547d97dd845c4c8fd2ea /regress/sys/kern/sosplice/tcp/args-max-sleep-server.pl
parent3bf673fa38486e1ccec7328845fb1c3e7f4193ec (diff)
Improve socket splicing tests:
- One more UDP test. - Enforce that kernel returns EFBIG where appropriate. - Better comments in test files.
Diffstat (limited to 'regress/sys/kern/sosplice/tcp/args-max-sleep-server.pl')
-rw-r--r--regress/sys/kern/sosplice/tcp/args-max-sleep-server.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/sys/kern/sosplice/tcp/args-max-sleep-server.pl b/regress/sys/kern/sosplice/tcp/args-max-sleep-server.pl
index 91d2a7af8f7..e8ffe6225be 100644
--- a/regress/sys/kern/sosplice/tcp/args-max-sleep-server.pl
+++ b/regress/sys/kern/sosplice/tcp/args-max-sleep-server.pl
@@ -1,4 +1,5 @@
-# test maximum data length with delay before server read
+# test maximum data length,
+# server sleeps before reading
use strict;
use warnings;
@@ -11,6 +12,7 @@ our %args = (
},
relay => {
max => 32117,
+ big => 1,
},
server => {
func => sub { sleep 3; read_stream(@_); },