summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-07-11 13:12:20 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-07-11 13:12:20 +0000
commitd7388ee9b2143baae78578b5036c965e71ce7b6c (patch)
tree9588777cf7ea1d5fbd7b8fb1c9b4555a88ac0d96 /regress/usr.bin
parenta406726fa2b9d1d7d32ac620ecc496bba300f42f (diff)
Space stripping
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/make/Makefile9
-rw-r--r--regress/usr.bin/make/mk136
-rw-r--r--regress/usr.bin/make/t13.out1
3 files changed, 14 insertions, 2 deletions
diff --git a/regress/usr.bin/make/Makefile b/regress/usr.bin/make/Makefile
index 004ed84955c..a58c16c2fc8 100644
--- a/regress/usr.bin/make/Makefile
+++ b/regress/usr.bin/make/Makefile
@@ -1,9 +1,10 @@
-# $OpenBSD: Makefile,v 1.10 2001/05/26 21:12:27 espie Exp $
+# $OpenBSD: Makefile,v 1.11 2001/07/11 13:12:18 espie Exp $
NOMAN=
NOPROG=
-regress: t1 t2 t3 t4 t5 t6 t8 t9 t10 t11 t12 t7
+# We don't pass t7 and t13...
+regress: t1 t2 t3 t4 t5 t6 t8 t9 t10 t11 t12 t7 t13
MALLOC_OPTIONS?=AZJ
t1: t1.out
@@ -63,6 +64,10 @@ t11:
t12:
cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk12 |diff - t12.out
+# Verify whitespace handling. Currently failing.
+t13:
+ cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk13 |diff - t13.out
+
z.a:
touch $@
diff --git a/regress/usr.bin/make/mk13 b/regress/usr.bin/make/mk13
new file mode 100644
index 00000000000..25a05109110
--- /dev/null
+++ b/regress/usr.bin/make/mk13
@@ -0,0 +1,6 @@
+# $OpenBSD: mk13,v 1.1 2001/07/11 13:12:19 espie Exp $
+# Warning: the next line ends with a space !!!
+A= ends with space
+
+a:
+ @echo "a$Aa"
diff --git a/regress/usr.bin/make/t13.out b/regress/usr.bin/make/t13.out
new file mode 100644
index 00000000000..e69e4592afe
--- /dev/null
+++ b/regress/usr.bin/make/t13.out
@@ -0,0 +1 @@
+aends with space a