diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/make/Makefile | 9 | ||||
-rw-r--r-- | regress/usr.bin/make/mk7 | 7 | ||||
-rw-r--r-- | regress/usr.bin/make/t6.out | 3 |
3 files changed, 16 insertions, 3 deletions
diff --git a/regress/usr.bin/make/Makefile b/regress/usr.bin/make/Makefile index 02dcce16f74..551311b3ec3 100644 --- a/regress/usr.bin/make/Makefile +++ b/regress/usr.bin/make/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.1 2000/07/17 21:40:09 espie Exp $ +# $OpenBSD: Makefile,v 1.2 2000/07/18 20:15:38 espie Exp $ NOMAN= NOPROG= -regress: t1 t2 t3 t4 t5 t6 +regress: t1 t2 t3 t4 t5 t6 t7 t1: t1.out env -i PATH=${PATH} ${MAKE} -e -r -f ${.CURDIR}/mk1 | diff - t1.out @@ -37,10 +37,13 @@ t5: t6: cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} A=good -r -f mk6 | diff - t6.out +t7: + if cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} -r -f mk7 2>/dev/null; then false; fi + t1.out: echo MACHINE_ARCH=${MACHINE_ARCH} >$@ -.PHONY: t1 t2 t3 t4 t5 t6 regress +.PHONY: t1 t2 t3 t4 t5 t6 t7 regress CLEANFILES+=t1.out diff --git a/regress/usr.bin/make/mk7 b/regress/usr.bin/make/mk7 new file mode 100644 index 00000000000..6ffd6a99ea6 --- /dev/null +++ b/regress/usr.bin/make/mk7 @@ -0,0 +1,7 @@ +# This Makefile should fail, the syntax is bogus + +A=1 +.if defined anything goes (A) +a: + @true +.endif diff --git a/regress/usr.bin/make/t6.out b/regress/usr.bin/make/t6.out index 12799ccbe7c..c892528298b 100644 --- a/regress/usr.bin/make/t6.out +++ b/regress/usr.bin/make/t6.out @@ -1 +1,4 @@ good +check quotes +work +to keep |