diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-12-19 10:10:36 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-12-19 10:10:36 +0000 |
commit | a5614b9fe0efc9b7c640b278586e787d6f5ec980 (patch) | |
tree | 7c83d22941319c8cf5093a0b2eef4454b83904c2 /regress/sbin | |
parent | 8b388aa09d8c2929acebc9e9897128acc7231a03 (diff) |
use ${SUDO} for pfctl when we actually use the ioctls.
ok markus@ henning@
Diffstat (limited to 'regress/sbin')
-rw-r--r-- | regress/sbin/pfctl/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index ee46c923a10..da8cd274535 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.58 2002/12/18 16:49:54 dhartmei Exp $ +# $OpenBSD: Makefile,v 1.59 2002/12/19 10:10:35 mcbride Exp $ PFTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 PFTESTS+=28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 @@ -44,11 +44,11 @@ pfsimple${n}: REGRESS_TARGETS+=pfload${n} pfload${n}: - pfctl -a regress:regress -f - < ${.CURDIR}/pf${n}.in - pfctl -a regress:regress -vvsr | \ + ${SUDO} pfctl -a regress:regress -f - < ${.CURDIR}/pf${n}.in + ${SUDO} pfctl -a regress:regress -vvsr | \ diff -u ${.CURDIR}/pf${n}.loaded /dev/stdin - pfctl -a regress:regress -Fn >/dev/null 2>&1 - pfctl -a regress:regress -Fr >/dev/null 2>&1 + ${SUDO} pfctl -a regress:regress -Fn >/dev/null 2>&1 + ${SUDO} pfctl -a regress:regress -Fr >/dev/null 2>&1 .endfor |