diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/make/Makefile | 7 | ||||
-rw-r--r-- | regress/usr.bin/make/mk27 | 29 | ||||
-rw-r--r-- | regress/usr.bin/make/t30.out | 4 |
3 files changed, 38 insertions, 2 deletions
diff --git a/regress/usr.bin/make/Makefile b/regress/usr.bin/make/Makefile index b06547e85e5..734947585a5 100644 --- a/regress/usr.bin/make/Makefile +++ b/regress/usr.bin/make/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.26 2007/08/06 06:52:30 espie Exp $ +# $OpenBSD: Makefile,v 1.27 2007/09/17 13:58:38 espie Exp $ # We don't pass t7, t13, t14, t17, t19, t20 t21 t26 # and t16 yields piss poor performance -REGRESS_TARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 t18 t19 t20 t21 t22 t23 t24 t25 t26 t27 t28 t29 +REGRESS_TARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 t18 t19 t20 t21 t22 t23 t24 t25 t26 t27 t28 t29 t30 MALLOC_OPTIONS?=AZJ t1: t1.out @@ -123,6 +123,9 @@ t29: cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk26 all | diff - t29.out cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk26 all | diff - t29.out2 +t30: + cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk27 all | diff - t30.out + z.a: touch $@ diff --git a/regress/usr.bin/make/mk27 b/regress/usr.bin/make/mk27 new file mode 100644 index 00000000000..c56d8a3bc70 --- /dev/null +++ b/regress/usr.bin/make/mk27 @@ -0,0 +1,29 @@ +# $OpenBSD: mk27,v 1.1 2007/09/17 13:58:38 espie Exp $ + +# test for .BEGIN/.END extensions + +.BEGIN: + @echo "begin" + + +.END: + @echo "end" + + +all: a b + +a: + @echo "a" + +b: + @echo "b" + +c: + sleep 10 + +.INTERRUPT: + @echo "Interrupted!!!" + +.PHONY: a b all c + + diff --git a/regress/usr.bin/make/t30.out b/regress/usr.bin/make/t30.out new file mode 100644 index 00000000000..48b2d47f4c7 --- /dev/null +++ b/regress/usr.bin/make/t30.out @@ -0,0 +1,4 @@ +begin +a +b +end |