summaryrefslogtreecommitdiff
path: root/regress/sys/kern/flock/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/flock/Makefile')
-rw-r--r--regress/sys/kern/flock/Makefile26
1 files changed, 18 insertions, 8 deletions
diff --git a/regress/sys/kern/flock/Makefile b/regress/sys/kern/flock/Makefile
index e050f532b58..900cf0426b5 100644
--- a/regress/sys/kern/flock/Makefile
+++ b/regress/sys/kern/flock/Makefile
@@ -1,18 +1,28 @@
-# $OpenBSD: Makefile,v 1.6 2018/11/03 09:21:25 anton Exp $
+# $OpenBSD: Makefile,v 1.7 2018/11/06 18:11:11 anton Exp $
-PROG= flock
+PROGS+= flock
+SRCS_flock= flock.c util.c
+
+PROGS+= lockf
+SRCS_lockf= lockf.c util.c
WARNINGS= yes
-TESTS!=jot 22 1
+TESTS_FLOCK!= jot 22 1
+.for t in ${TESTS_FLOCK}
+flock-$t: flock
+ ./flock ${LOCKFLAGS} $t
+REGRESS_TARGETS+=flock-$t
+.endfor
# XXX known failures (talk to art)
-REGRESS_SKIP_TARGETS = t-5 t-6
+REGRESS_SKIP_TARGETS= flock-5 flock-6
-.for a in ${TESTS}
-t-${a}: flock
- ./flock ${a}
-REGRESS_TARGETS+=t-${a}
+TESTS_LOCKF!= jot 2 1
+.for t in ${TESTS_LOCKF}
+lockf-$t: lockf
+ ./lockf ${LOCKFLAGS} $t
+REGRESS_TARGETS+=lockf-$t
.endfor
.include <bsd.regress.mk>