summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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