summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-07-15 19:43:44 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-07-15 19:43:44 +0000
commitdd04a0be666f11f0145d5ed2ba773795aed3eec4 (patch)
treeba58401dbed545b52d55d1af967347237df8e6b9 /regress/usr.bin
parentbf1960a45f00de9682b56df5f55745fadf470545 (diff)
testcase for recent bug-report.
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/make/Makefile9
-rw-r--r--regress/usr.bin/make/mk234
2 files changed, 10 insertions, 3 deletions
diff --git a/regress/usr.bin/make/Makefile b/regress/usr.bin/make/Makefile
index f8d776b6a0b..ded986b46cb 100644
--- a/regress/usr.bin/make/Makefile
+++ b/regress/usr.bin/make/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.22 2004/11/29 16:26:58 espie Exp $
+# $OpenBSD: Makefile,v 1.23 2005/07/15 19:43:42 espie Exp $
# We don't pass t7, t13, t14, t17, t19, t20 t21
# 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
+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
MALLOC_OPTIONS?=AZJ
t1: t1.out
@@ -97,13 +97,16 @@ t22:
t23:
cd ${.CURDIR} && ulimit -t 60 && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk22 a 2>&1| diff - t23.out
+t24:
+ if cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk24 a 2>/dev/null; then false; fi
+
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 t15 t16 t17 t18 t19 t20 t21 t22 t23 regress
+.PHONY: t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 t18 t19 t20 t21 t22 t23 t24 regress
CLEANFILES+=t1.out z.a a.a a.b goodfile phony t15file
diff --git a/regress/usr.bin/make/mk23 b/regress/usr.bin/make/mk23
new file mode 100644
index 00000000000..08fdd90cf9b
--- /dev/null
+++ b/regress/usr.bin/make/mk23
@@ -0,0 +1,4 @@
+FOO=foobar
+
+a:
+ @echo ${FOO:f%r=te%st