summaryrefslogtreecommitdiff
path: root/regress/sys/crypto
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/crypto
parentc8c2d88480610a8d313e56782def879d3f6fc8ae (diff)
this needs root privileges to work so define REGRESS_ROOT_TARGETS and use SUDO
Diffstat (limited to 'regress/sys/crypto')
-rw-r--r--regress/sys/crypto/enc/Makefile7
1 files changed, 6 insertions, 1 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>