diff options
author | Anton Lindqvist <anton@cvs.openbsd.org> | 2021-09-30 17:57:45 +0000 |
---|---|---|
committer | Anton Lindqvist <anton@cvs.openbsd.org> | 2021-09-30 17:57:45 +0000 |
commit | c2d7996795e46cb4bb9eba690eaa737cd22f70e1 (patch) | |
tree | c3fe7198b5598eb09f629a504671335b526634f6 /regress | |
parent | b3cecd2a97a59f9c398eaa56988cf7a7d5216677 (diff) |
Quote SUDO value during propagation, allowing `doas -n' to be correctly
honored which I use while running regress. The same principle is already
applied to the PYTHON variable here.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/sys/kern/sosplice/loop/Makefile | 8 | ||||
-rw-r--r-- | regress/sys/kern/sosplice/scapy/Makefile | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/regress/sys/kern/sosplice/loop/Makefile b/regress/sys/kern/sosplice/loop/Makefile index 312e491c9c3..bb1685cd69e 100644 --- a/regress/sys/kern/sosplice/loop/Makefile +++ b/regress/sys/kern/sosplice/loop/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2021/05/17 13:13:27 bluhm Exp $ +# $OpenBSD: Makefile,v 1.5 2021/09/30 17:57:44 anton Exp $ # Create chains and loops of spliced tcp and udp sockets. # Send data through them and check that MAXLOOP is triggered in kernel. @@ -37,17 +37,17 @@ v = -v REGRESS_TARGETS += run-chain-ipv$i-proto$p-count$c run-chain-ipv$i-proto$p-count$c: chain.pl ulimit -n 500; \ - SUDO=${SUDO} ${KTRACE} perl ${PERLPATH}chain.pl -$i -c $c -p $p $v + SUDO="${SUDO}" ${KTRACE} perl ${PERLPATH}chain.pl -$i -c $c -p $p $v .endfor REGRESS_TARGETS += run-loop-ipv$i-proto$p run-loop-ipv$i-proto$p: loop.pl - SUDO=${SUDO} ${KTRACE} perl ${PERLPATH}loop.pl -$i -p $p $v + SUDO="${SUDO}" ${KTRACE} perl ${PERLPATH}loop.pl -$i -p $p $v .endfor .endfor REGRESS_TARGETS += run-bcast run-bcast: bcast.pl - SUDO=${SUDO} ${KTRACE} perl ${PERLPATH}bcast.pl $v + SUDO="${SUDO}" ${KTRACE} perl ${PERLPATH}bcast.pl $v .include <bsd.regress.mk> diff --git a/regress/sys/kern/sosplice/scapy/Makefile b/regress/sys/kern/sosplice/scapy/Makefile index a1f772d5997..d21c9f20a54 100644 --- a/regress/sys/kern/sosplice/scapy/Makefile +++ b/regress/sys/kern/sosplice/scapy/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2020/12/30 21:40:32 kn Exp $ +# $OpenBSD: Makefile,v 1.10 2021/09/30 17:57:44 anton Exp $ # Copyright (c) 2017-2020 Alexander Bluhm <bluhm@openbsd.org> # @@ -125,7 +125,7 @@ SCAPYPATH = ${.CURDIR}/ .for s in ${SCAPYS} REGRESS_TARGETS += run-$s run-$s: $s addr.py - time SUDO=${SUDO} PYTHON="${PYTHON}" perl ${PERLINC} ${PERLPATH}scapy.pl splice ${FAKE_NET_ADDR} ${REMOTE_ADDR} ${REMOTE_SSH} ${SCAPYPATH}$s + time SUDO="${SUDO}" PYTHON="${PYTHON}" perl ${PERLINC} ${PERLPATH}scapy.pl splice ${FAKE_NET_ADDR} ${REMOTE_ADDR} ${REMOTE_SSH} ${SCAPYPATH}$s .endfor .if ! empty(PF_ANCHOR:Mregress) |