summaryrefslogtreecommitdiff
path: root/regress/sys/kern
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-06-29 19:56:59 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-06-29 19:56:59 +0000
commit5ac2f25ef6d4d731838d0397d3512d85126b6d20 (patch)
tree292ff0911f45f8e848cbc07f974eddef31c452ac /regress/sys/kern
parent6396cf5cedaefd5845c9b18760749d1610063c9c (diff)
Make this pass again on 32-bit platforms.
Diffstat (limited to 'regress/sys/kern')
-rw-r--r--regress/sys/kern/extent/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/regress/sys/kern/extent/Makefile b/regress/sys/kern/extent/Makefile
index ff819344435..23cf8acd893 100644
--- a/regress/sys/kern/extent/Makefile
+++ b/regress/sys/kern/extent/Makefile
@@ -1,18 +1,21 @@
-# $OpenBSD: Makefile,v 1.2 2005/04/22 00:37:58 miod Exp $
+# $OpenBSD: Makefile,v 1.3 2015/06/29 19:56:58 miod Exp $
# $NetBSD: Makefile,v 1.5 2002/09/18 04:16:02 lukem Exp $
PROG= extest
SRCS= extest.c subr_extent.c
CPPFLAGS+= -D_EXTENT_TESTING -DDIAGNOSTIC
-CLEANFILES+= extest.c extest.out
+CLEANFILES+= extest.c extest.out extest.exp
.PATH: ${.CURDIR}/../../../../sys/kern
REGRESS_TARGETS= do-extent
+MINUSONE!= awk 'BEGIN{printf("%lx\n",-1)}' < /dev/null
+
do-extent: ${PROG}
+ sed 's/ffffffffffffffff/${MINUSONE}/' < ${.CURDIR}/extest.exp > extest.exp
./${PROG} >extest.out
- tail +5 ${.CURDIR}/extest.exp | diff - extest.out
+ tail +5 extest.exp | diff - extest.out
extest.c: extest.awk tests
awk -f ${.CURDIR}/extest.awk <${.CURDIR}/tests >extest.c