From 35b1b4eb6c4f26a2b3e6ab0ccc1bb1993303b9cf Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Mon, 24 Jul 2000 21:53:28 +0000 Subject: Some variable substitutions --- regress/usr.bin/make/Makefile | 9 ++++++--- regress/usr.bin/make/mk9 | 5 +++++ regress/usr.bin/make/t9.out | 2 ++ 3 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 regress/usr.bin/make/mk9 create mode 100644 regress/usr.bin/make/t9.out diff --git a/regress/usr.bin/make/Makefile b/regress/usr.bin/make/Makefile index 8b46bb40993..e71985abb71 100644 --- a/regress/usr.bin/make/Makefile +++ b/regress/usr.bin/make/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.3 2000/07/23 15:31:14 espie Exp $ +# $OpenBSD: Makefile,v 1.4 2000/07/24 21:53:27 espie Exp $ NOMAN= NOPROG= -regress: t1 t2 t3 t4 t5 t6 t7 t8 +regress: t1 t2 t3 t4 t5 t6 t7 t8 t9 t1: t1.out env -i PATH=${PATH} ${MAKE} -e -r -f ${.CURDIR}/mk1 | diff - t1.out @@ -45,10 +45,13 @@ t8: touch goodfile phony cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} -r -f mk8 | diff - t8.out +t9: + cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} -r -f mk9 2>&1 | diff - t9.out + t1.out: echo MACHINE_ARCH=${MACHINE_ARCH} >$@ -.PHONY: t1 t2 t3 t4 t5 t6 t7 t8 regress +.PHONY: t1 t2 t3 t4 t5 t6 t7 t8 t9 regress CLEANFILES+=t1.out diff --git a/regress/usr.bin/make/mk9 b/regress/usr.bin/make/mk9 new file mode 100644 index 00000000000..230199a4e63 --- /dev/null +++ b/regress/usr.bin/make/mk9 @@ -0,0 +1,5 @@ +.undef A +B=echo zoinx +a: + @echo ${A:sh} + @echo ${B:sh} diff --git a/regress/usr.bin/make/t9.out b/regress/usr.bin/make/t9.out new file mode 100644 index 00000000000..90bcb243da8 --- /dev/null +++ b/regress/usr.bin/make/t9.out @@ -0,0 +1,2 @@ + +zoinx -- cgit v1.2.3