summaryrefslogtreecommitdiff
path: root/regress/sys/kern/splice/args-sleep-client.pl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/splice/args-sleep-client.pl')
-rw-r--r--regress/sys/kern/splice/args-sleep-client.pl15
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/sys/kern/splice/args-sleep-client.pl b/regress/sys/kern/splice/args-sleep-client.pl
new file mode 100644
index 00000000000..9070a18c691
--- /dev/null
+++ b/regress/sys/kern/splice/args-sleep-client.pl
@@ -0,0 +1,15 @@
+# test delay before client write
+
+use strict;
+use warnings;
+
+our %args = (
+ client => {
+ func => sub { sleep 3; write_char(@_); },
+ len => 2**17,
+ },
+ len => 131072,
+ md5 => "31e5ad3d0d2aeb1ad8aaa847dfa665c2",
+);
+
+1;