summaryrefslogtreecommitdiff
path: root/regress/sys/uvm
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2004-12-29 04:28:40 +0000
committerDavid Krause <david@cvs.openbsd.org>2004-12-29 04:28:40 +0000
commit587b21c22c38daf053fd08f165d499140cf2c820 (patch)
tree8209ef42ff1cffb09aaff13d90ae7f68cb1528ab /regress/sys/uvm
parentc8c2d88480610a8d313e56782def879d3f6fc8ae (diff)
this needs root privileges to work so define REGRESS_ROOT_TARGETS and use SUDO
Diffstat (limited to 'regress/sys/uvm')
-rw-r--r--regress/sys/uvm/misc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/regress/sys/uvm/misc/Makefile b/regress/sys/uvm/misc/Makefile
index d0b4ec5b534..d7990dac270 100644
--- a/regress/sys/uvm/misc/Makefile
+++ b/regress/sys/uvm/misc/Makefile
@@ -1,6 +1,11 @@
-# $OpenBSD: Makefile,v 1.2 2002/08/21 22:49:41 wcobb Exp $
+# $OpenBSD: Makefile,v 1.3 2004/12/29 04:28:39 david Exp $
PROG=misc
CLEANFILES=mapped_file
+REGRESS_ROOT_TARGETS= run-regress-${PROG}
+
+run-regress-${PROG}: ${PROG}
+ ${SUDO} ./${PROG}
+
.include <bsd.regress.mk>