aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/varparse-errors.mk
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bmake/unit-tests/varparse-errors.mk')
-rw-r--r--contrib/bmake/unit-tests/varparse-errors.mk21
1 files changed, 19 insertions, 2 deletions
diff --git a/contrib/bmake/unit-tests/varparse-errors.mk b/contrib/bmake/unit-tests/varparse-errors.mk
index 51a403fa898f..9174d264db0f 100644
--- a/contrib/bmake/unit-tests/varparse-errors.mk
+++ b/contrib/bmake/unit-tests/varparse-errors.mk
@@ -1,4 +1,4 @@
-# $NetBSD: varparse-errors.mk,v 1.5 2022/01/24 22:59:49 rillig Exp $
+# $NetBSD: varparse-errors.mk,v 1.7 2022/08/24 22:09:41 rillig Exp $
# Tests for parsing and evaluating all kinds of variable expressions.
#
@@ -68,4 +68,21 @@ IND= ${:OX}
_:= ${:U:OX:U${IND}} ${:U:OX:U${IND}}
#.MAKEFLAGS: -d0
-all:
+
+# Before var.c 1.032 from 2022-08-24, make complained about 'Unknown modifier'
+# or 'Bad modifier' when in fact the modifier was entirely correct, it was
+# just not delimited by either ':' or '}' but instead by '\0'.
+UNCLOSED:= ${:U:Q
+UNCLOSED:= ${:U:sh
+UNCLOSED:= ${:U:tA
+UNCLOSED:= ${:U:tsX
+UNCLOSED:= ${:U:ts
+UNCLOSED:= ${:U:ts\040
+UNCLOSED:= ${:U:u
+UNCLOSED:= ${:U:H
+UNCLOSED:= ${:U:[1]
+UNCLOSED:= ${:U:hash
+UNCLOSED:= ${:U:range
+UNCLOSED:= ${:U:_
+UNCLOSED:= ${:U:gmtime
+UNCLOSED:= ${:U:localtime