summaryrefslogtreecommitdiff
path: root/regress/lib/libpthread
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2002-02-17 01:12:10 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2002-02-17 01:12:10 +0000
commit1966625bcaff4c11f37a9e2a84b78c4780120fb6 (patch)
tree0b5595fcec4aef43a2fa9b7c79cc88c129f2adfd /regress/lib/libpthread
parentdf162c3e27123e9798aabeaefa4cb02dee2c6434 (diff)
This test requires root, make it use REGRESSROOTTARGETS.
Requires bsd.regress.mk version 1.9 or later
Diffstat (limited to 'regress/lib/libpthread')
-rw-r--r--regress/lib/libpthread/pcap/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/regress/lib/libpthread/pcap/Makefile b/regress/lib/libpthread/pcap/Makefile
index 821f1c63e48..977712de20d 100644
--- a/regress/lib/libpthread/pcap/Makefile
+++ b/regress/lib/libpthread/pcap/Makefile
@@ -1,7 +1,13 @@
-# $OpenBSD: Makefile,v 1.5 2002/01/03 00:43:47 art Exp $
+# $OpenBSD: Makefile,v 1.6 2002/02/17 01:12:09 marc Exp $
PROG= pcap
LDADD+= -lpcap
+REGRESSTARGETS= sudo-regress-${PROG}
+REGRESSROOTTARGETS= ${REGRESSTARGETS}
+
+sudo-regress-${PROG}: ${PROG}
+ ${SUDO} ./${PROG}
+
.include <bsd.regress.mk>