summaryrefslogtreecommitdiff
path: root/regress/usr.bin/make/Makefile
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-12-31 16:44:15 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-12-31 16:44:15 +0000
commitca67588a43c5cc1c61b72e354ad3a66e49d18fbf (patch)
treec476e75214b64e030ecc406e2736323a55e66532 /regress/usr.bin/make/Makefile
parentf127635efb3fe0a2fe09b5bae33373c792cd1bfa (diff)
Some tests for SysV extended local variables ${@D} and the likes.
Diffstat (limited to 'regress/usr.bin/make/Makefile')
-rw-r--r--regress/usr.bin/make/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/regress/usr.bin/make/Makefile b/regress/usr.bin/make/Makefile
index 493b0a19ce6..48d3687bcf1 100644
--- a/regress/usr.bin/make/Makefile
+++ b/regress/usr.bin/make/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.5 2000/11/24 14:52:25 espie Exp $
+# $OpenBSD: Makefile,v 1.6 2000/12/31 16:44:14 espie Exp $
NOMAN=
NOPROG=
-regress: t1 t2 t3 t4 t5 t6 t7 t8 t9
+regress: t1 t2 t3 t4 t5 t6 t7 t8 t9 t10
MALLOC_OPTIONS?=AZJ
t1: t1.out
@@ -48,12 +48,19 @@ t8:
t9:
cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk9 2>&1 | diff - t9.out
+
+# verify that systemV extended variables work as expected
+t10: z.a
+ cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk10 |diff - t10.out
+z.a:
+ touch $@
+
t1.out:
echo MACHINE_ARCH=${MACHINE_ARCH} >$@
-.PHONY: t1 t2 t3 t4 t5 t6 t7 t8 t9 regress
+.PHONY: t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 regress
-CLEANFILES+=t1.out
+CLEANFILES+=t1.out z.a
.include <bsd.prog.mk>