summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/make/Makefile9
-rw-r--r--regress/usr.bin/make/mk95
-rw-r--r--regress/usr.bin/make/t9.out2
3 files changed, 13 insertions, 3 deletions
diff --git a/regress/usr.bin/make/Makefile b/regress/usr.bin/make/Makefile
index 8b46bb40993..e71985abb71 100644
--- a/regress/usr.bin/make/Makefile
+++ b/regress/usr.bin/make/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.3 2000/07/23 15:31:14 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2000/07/24 21:53:27 espie Exp $
NOMAN=
NOPROG=
-regress: t1 t2 t3 t4 t5 t6 t7 t8
+regress: t1 t2 t3 t4 t5 t6 t7 t8 t9
t1: t1.out
env -i PATH=${PATH} ${MAKE} -e -r -f ${.CURDIR}/mk1 | diff - t1.out
@@ -45,10 +45,13 @@ t8:
touch goodfile phony
cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} -r -f mk8 | diff - t8.out
+t9:
+ cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} -r -f mk9 2>&1 | diff - t9.out
+
t1.out:
echo MACHINE_ARCH=${MACHINE_ARCH} >$@
-.PHONY: t1 t2 t3 t4 t5 t6 t7 t8 regress
+.PHONY: t1 t2 t3 t4 t5 t6 t7 t8 t9 regress
CLEANFILES+=t1.out
diff --git a/regress/usr.bin/make/mk9 b/regress/usr.bin/make/mk9
new file mode 100644
index 00000000000..230199a4e63
--- /dev/null
+++ b/regress/usr.bin/make/mk9
@@ -0,0 +1,5 @@
+.undef A
+B=echo zoinx
+a:
+ @echo ${A:sh}
+ @echo ${B:sh}
diff --git a/regress/usr.bin/make/t9.out b/regress/usr.bin/make/t9.out
new file mode 100644
index 00000000000..90bcb243da8
--- /dev/null
+++ b/regress/usr.bin/make/t9.out
@@ -0,0 +1,2 @@
+
+zoinx