summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-02-26 16:54:48 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-02-26 16:54:48 +0000
commit663d2e783f9e7ba94d8665f7b9b3ff9f9b4943af (patch)
tree222ba8f055f0ba540668255f19dc234dfebdddde /regress
parent2e9fb0524bdfcba34ba7b3ce2c6cf2c195827e1f (diff)
Add test for PR 2311
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/make/Makefile12
-rw-r--r--regress/usr.bin/make/mk157
2 files changed, 15 insertions, 4 deletions
diff --git a/regress/usr.bin/make/Makefile b/regress/usr.bin/make/Makefile
index 85b8a205419..4068f1e2571 100644
--- a/regress/usr.bin/make/Makefile
+++ b/regress/usr.bin/make/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.14 2002/01/03 01:07:28 art Exp $
+# $OpenBSD: Makefile,v 1.15 2002/02/26 16:54:47 espie Exp $
# We don't pass t7, t13, t14...
-REGRESSTARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14
+REGRESSTARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15
MALLOC_OPTIONS?=AZJ
t1: t1.out
@@ -68,14 +68,18 @@ t13:
t14:
if cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk14 2>/dev/null; then false; fi
+t15:
+ touch t15file
+ cd ${.CURDIR} && ulimit -t 2 && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk15 2>/dev/null
+
z.a:
touch $@
t1.out:
echo MACHINE_ARCH=${MACHINE_ARCH} >$@
-.PHONY: t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 regress
+.PHONY: t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 regress
-CLEANFILES+=t1.out z.a a.a a.b goodfile phony
+CLEANFILES+=t1.out z.a a.a a.b goodfile phony t15file
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/make/mk15 b/regress/usr.bin/make/mk15
new file mode 100644
index 00000000000..f5ca17339f6
--- /dev/null
+++ b/regress/usr.bin/make/mk15
@@ -0,0 +1,7 @@
+# $OpenBSD: mk15,v 1.1 2002/02/26 16:54:47 espie Exp $
+# See PR 2311
+
+t15file.zoinx: ${@F:R}
+ echo $@
+
+.PHONY: t15file.zoinx