diff options
author | Anton Lindqvist <anton@cvs.openbsd.org> | 2022-04-28 15:37:02 +0000 |
---|---|---|
committer | Anton Lindqvist <anton@cvs.openbsd.org> | 2022-04-28 15:37:02 +0000 |
commit | df3b59fdb91dfb694fdf1c59ce3baf88a173d7d5 (patch) | |
tree | 0bfe7c0e523273b37a51e438e9a1d7bc2c484369 /regress | |
parent | 12f085b11c26fe758f444522edfaac875663ef81 (diff) |
Environment variables must be passed through env(1) while using sudo.
ok bluhm@
Diffstat (limited to 'regress')
-rw-r--r-- | regress/sys/net/pf_opts/Makefile | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/regress/sys/net/pf_opts/Makefile b/regress/sys/net/pf_opts/Makefile index 08d0a4c9533..1b864e36d9a 100644 --- a/regress/sys/net/pf_opts/Makefile +++ b/regress/sys/net/pf_opts/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2022/04/27 18:28:40 bluhm Exp $ +# $OpenBSD: Makefile,v 1.2 2022/04/28 15:37:01 anton Exp $ # Copyright (c) 2022 Alexander Bluhm <bluhm@openbsd.org> # @@ -194,13 +194,13 @@ run-bpf-ping-record: stamp-stop REGRESS_TARGETS += run-icmp run-icmp: stamp-bpf - ${SUDO} ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp.py N1 - ${SUDO} ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp.py N2 + ${SUDO} env ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp.py N1 + ${SUDO} env ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp.py N2 REGRESS_TARGETS += run-icmp6 run-icmp6: stamp-bpf - ${SUDO} ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp6.py N1 - ${SUDO} ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp6.py N2 + ${SUDO} env ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp6.py N1 + ${SUDO} env ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp6.py N2 REGRESS_TARGETS += run-bpf-icmp run-bpf-icmp: stamp-stop @@ -216,13 +216,13 @@ run-bpf-icmp: stamp-stop REGRESS_TARGETS += run-icmp6-hop run-icmp6-hop: stamp-bpf - ${SUDO} ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp6_hop.py N1 - ${SUDO} ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp6_hop.py N2 + ${SUDO} env ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp6_hop.py N1 + ${SUDO} env ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp6_hop.py N2 REGRESS_TARGETS += run-icmp6-dst run-icmp6-dst: stamp-bpf - ${SUDO} ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp6_dst.py N1 - ${SUDO} ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp6_dst.py N2 + ${SUDO} env ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp6_dst.py N1 + ${SUDO} env ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp6_dst.py N2 REGRESS_TARGETS += run-bpf-ext run-bpf-ext: stamp-stop @@ -235,38 +235,38 @@ run-bpf-ext: stamp-stop REGRESS_TARGETS += run-icmp-pad run-icmp-pad: stamp-bpf - ${SUDO} ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp_pad.py N1 - ${SUDO} ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp_pad.py N2 + ${SUDO} env ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp_pad.py N1 + ${SUDO} env ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp_pad.py N2 REGRESS_TARGETS += run-icmp-eol run-icmp-eol: stamp-bpf - ${SUDO} ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp_eol.py N1 - ${SUDO} ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp_eol.py N2 + ${SUDO} env ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp_eol.py N1 + ${SUDO} env ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp_eol.py N2 REGRESS_TARGETS += run-icmp6-pad run-icmp6-pad: stamp-bpf - ${SUDO} ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp6_hop_pad.py N1 - ${SUDO} ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp6_hop_pad.py N2 + ${SUDO} env ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp6_hop_pad.py N1 + ${SUDO} env ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp6_hop_pad.py N2 REGRESS_TARGETS += run-icmp-ra run-icmp-ra: stamp-bpf - ${SUDO} ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp_ra.py N1 - ${SUDO} ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp_ra.py N2 + ${SUDO} env ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp_ra.py N1 + ${SUDO} env ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp_ra.py N2 REGRESS_TARGETS += run-icmp6-ra run-icmp6-ra: stamp-bpf - ${SUDO} ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp6_hop_ra.py N1 - ${SUDO} ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp6_hop_ra.py N2 + ${SUDO} env ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp6_hop_ra.py N1 + ${SUDO} env ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp6_hop_ra.py N2 REGRESS_TARGETS += run-icmp-bad run-icmp-bad: stamp-bpf - ${SUDO} ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp_bad.py N1 - ${SUDO} ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp_bad.py N2 + ${SUDO} env ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp_bad.py N1 + ${SUDO} env ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp_bad.py N2 REGRESS_TARGETS += run-icmp6-bad run-icmp6-bad: stamp-bpf - ${SUDO} ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp6_hop_bad.py N1 - ${SUDO} ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp6_hop_bad.py N2 + ${SUDO} env ${PYPATH} /sbin/route -T ${N1} exec ${PYTHON}icmp6_hop_bad.py N1 + ${SUDO} env ${PYPATH} /sbin/route -T ${N2} exec ${PYTHON}icmp6_hop_bad.py N2 REGRESS_TARGETS += run-bpf-opts run-bpf-opts: stamp-stop |