diff options
author | bluhm <bluhm@openbsd.org> | 2021-01-03 12:33:00 +0000 |
---|---|---|
committer | bluhm <bluhm@openbsd.org> | 2021-01-03 12:33:00 +0000 |
commit | 1ad5b955858632562cf58851030e1da90ecc7873 (patch) | |
tree | fb99fc4e65e632a1d1aa7e4347a2901d31bc5cf4 /regress/sys | |
parent | Turn macros into inline functions so that there is no need to document in (diff) | |
download | wireguard-openbsd-1ad5b955858632562cf58851030e1da90ecc7873.tar.xz wireguard-openbsd-1ad5b955858632562cf58851030e1da90ecc7873.zip |
Increase file descriptor limit to allow long chains of spliced
sockets in one test process.
Diffstat (limited to 'regress/sys')
-rw-r--r-- | regress/sys/kern/sosplice/loop/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/sys/kern/sosplice/loop/Makefile b/regress/sys/kern/sosplice/loop/Makefile index aa386d4c38d..80425ca36f1 100644 --- a/regress/sys/kern/sosplice/loop/Makefile +++ b/regress/sys/kern/sosplice/loop/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2021/01/02 01:27:45 bluhm Exp $ +# $OpenBSD: Makefile,v 1.2 2021/01/03 12:33:00 bluhm Exp $ # Create chains and loops of spliced tcp and udp sockets. # Send data through them and check that MAXLOOP is triggered in kernel. @@ -17,6 +17,7 @@ v = -v .for c in 1 2 3 127 128 129 200 REGRESS_TARGETS += run-chain-ipv$i-proto$p-count$c run-chain-ipv$i-proto$p-count$c: chain.pl + ulimit -n 511; \ SUDO=${SUDO} ${KTRACE} perl ${PERLPATH}chain.pl -$i -c $c -p $p $v .endfor |