diff options
author | 2012-08-17 22:19:44 +0000 | |
---|---|---|
committer | 2012-08-17 22:19:44 +0000 | |
commit | 50cd2f97849f13d61758b6ad4664e51b4abe623c (patch) | |
tree | 27aa938bee53ad7b1f0058c788b26437179becbf | |
parent | Native mdoc versions of the sudo manuals, back-ported from sudo trunk. (diff) | |
download | wireguard-openbsd-50cd2f97849f13d61758b6ad4664e51b4abe623c.tar.xz wireguard-openbsd-50cd2f97849f13d61758b6ad4664e51b4abe623c.zip |
ouch, this should not work
-rw-r--r-- | regress/usr.bin/make/Makefile | 5 | ||||
-rw-r--r-- | regress/usr.bin/make/mk33 | 10 | ||||
-rw-r--r-- | regress/usr.bin/make/t36.out | 1 |
3 files changed, 15 insertions, 1 deletions
diff --git a/regress/usr.bin/make/Makefile b/regress/usr.bin/make/Makefile index 4cc37499a19..2117fb46b0e 100644 --- a/regress/usr.bin/make/Makefile +++ b/regress/usr.bin/make/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.31 2011/06/30 14:24:51 espie Exp $ +# $OpenBSD: Makefile,v 1.32 2012/08/17 22:19:44 espie Exp $ # We don't pass t7, t13, t14, t17, t19, t20 t21 t26 # and t16 yields piss poor performance @@ -147,6 +147,9 @@ t36: z.a: touch $@ +t37: + cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} B=2 ${MAKE} -r -f mk33 all | diff - t36.out + t1.out: echo MACHINE_ARCH=${MACHINE_ARCH} >$@ diff --git a/regress/usr.bin/make/mk33 b/regress/usr.bin/make/mk33 new file mode 100644 index 00000000000..ef094109df1 --- /dev/null +++ b/regress/usr.bin/make/mk33 @@ -0,0 +1,10 @@ +# $OpenBSD: mk33,v 1.1 2012/08/17 22:19:44 espie Exp $ +.PHONY: all + +AB = a +AC = b +B = C + +# note the non-terminated brace +all: + @echo ${A${B} diff --git a/regress/usr.bin/make/t36.out b/regress/usr.bin/make/t36.out new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/regress/usr.bin/make/t36.out @@ -0,0 +1 @@ + |