summaryrefslogtreecommitdiff
path: root/regress/sys
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
parentc8c2d88480610a8d313e56782def879d3f6fc8ae (diff)
this needs root privileges to work so define REGRESS_ROOT_TARGETS and use SUDO
Diffstat (limited to 'regress/sys')
-rw-r--r--regress/sys/crypto/enc/Makefile7
-rw-r--r--regress/sys/uvm/misc/Makefile7
2 files changed, 12 insertions, 2 deletions
diff --git a/regress/sys/crypto/enc/Makefile b/regress/sys/crypto/enc/Makefile
index 8f44b48aed2..fd1b18dc8ad 100644
--- a/regress/sys/crypto/enc/Makefile
+++ b/regress/sys/crypto/enc/Makefile
@@ -1,7 +1,12 @@
-# $OpenBSD: Makefile,v 1.3 2002/10/21 20:54:02 mickey Exp $
+# $OpenBSD: Makefile,v 1.4 2004/12/29 04:28:39 david Exp $
PROG= des3
LDADD=-ldes
DPADD=${LIBDES}
+REGRESS_ROOT_TARGETS= run-regress-${PROG}
+
+run-regress-${PROG}: ${PROG}
+ ${SUDO} ./${PROG}
+
.include <bsd.regress.mk>
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>