summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/sys/kern/extent/Makefile8
-rw-r--r--regress/usr.bin/libtool/Makefile4
2 files changed, 6 insertions, 6 deletions
diff --git a/regress/sys/kern/extent/Makefile b/regress/sys/kern/extent/Makefile
index 23cf8acd893..a0d1b981988 100644
--- a/regress/sys/kern/extent/Makefile
+++ b/regress/sys/kern/extent/Makefile
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.3 2015/06/29 19:56:58 miod Exp $
+# $OpenBSD: Makefile,v 1.4 2017/07/25 12:49:29 bluhm 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 extest.exp
+CLEANFILES+= extest.c extest.out
.PATH: ${.CURDIR}/../../../../sys/kern
@@ -13,9 +13,9 @@ 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 extest.exp | diff - extest.out
+ sed -n 's/ffffffffffffffff/${MINUSONE}/;5,$$p' ${.CURDIR}/extest.exp |\
+ diff - extest.out
extest.c: extest.awk tests
awk -f ${.CURDIR}/extest.awk <${.CURDIR}/tests >extest.c
diff --git a/regress/usr.bin/libtool/Makefile b/regress/usr.bin/libtool/Makefile
index 9237fd59382..d850a48e102 100644
--- a/regress/usr.bin/libtool/Makefile
+++ b/regress/usr.bin/libtool/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.35 2017/07/10 18:48:37 bluhm Exp $
+# $OpenBSD: Makefile,v 1.36 2017/07/25 12:49:29 bluhm Exp $
REGRESS_TARGETS = test-compile-0 test-link-0 test-install-0 \
test-run-0 test-link-1 test-install-1 test-run-1 \
test-link-2 test-link-3 test-link-4 \
@@ -348,7 +348,7 @@ lib$l.la: ${OBJ_$l}
${LIBS_ENV} ${LIBTOOL} --mode=link ${CC} ${CFLAGS} -o $@ ${$l_OPTS} ${OBJ_$l}
.endfor
-CLEANFILES += ${PRGS} s1 *.c *.o *.lo *.la .libs/* lib1/* out*
+CLEANFILES += ${PRGS} s1 e dummy*.c *.d *.o *.lo *.la .libs/* lib1/* out*
CLEANFILES += ${DEST}/bin/* ${DEST}/lib/* ${DEST2}/lib/* ${DEST3}/lib/*
.PHONY: ${REGRESS_TARGETS} regress compile-tests