diff options
author | 2020-12-17 14:06:42 +0000 | |
---|---|---|
committer | 2020-12-17 14:06:42 +0000 | |
commit | 1d98f34286583175a9e4ff0c843e33e6e9f2db6e (patch) | |
tree | 14ecc3eca9627bb344e0fc6622900f0b4fbdc713 | |
parent | Fix a race where the ${SUDO} process was killed instead of tcpdump. (diff) | |
download | wireguard-openbsd-1d98f34286583175a9e4ff0c843e33e6e9f2db6e.tar.xz wireguard-openbsd-1d98f34286583175a9e4ff0c843e33e6e9f2db6e.zip |
Use ${SUDO} or skip test if not root.
-rw-r--r-- | regress/sys/netinet/autoport/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/sys/netinet/autoport/Makefile b/regress/sys/netinet/autoport/Makefile index 5c6abfadb95..bdd1d06b3f5 100644 --- a/regress/sys/netinet/autoport/Makefile +++ b/regress/sys/netinet/autoport/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.2 2015/10/14 13:17:33 vgross Exp $ +# $OpenBSD: Makefile,v 1.3 2020/12/17 14:06:42 bluhm Exp $ DIR= ${.CURDIR}/../../netinet6/autoport REGRESS_TARGETS= run-regress-autoport -REGRESS_ROOT_TARGETS= $(REGRESS_TARGETS) +REGRESS_ROOT_TARGETS= ${REGRESS_TARGETS} run-regress-autoport: - /usr/bin/perl $(DIR)/autoport.pl 4 30000 31000 64 + ${SUDO} /usr/bin/perl ${DIR}/autoport.pl 4 30000 31000 64 .include <bsd.regress.mk> |