xref: /freebsd/contrib/bmake/unit-tests/varmod-match-escape.exp (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1Global: SPECIALS = \: : \\ * \*
2CondParser_Eval: ${SPECIALS:M${:U}\:} != ${SPECIALS:M\:${:U}}
3Var_Parse: ${SPECIALS:M${:U}\:} != ${SPECIALS:M\:${:U}} (eval-defined)
4Evaluating modifier ${SPECIALS:M...} on value "\: : \\ * \*"
5Pattern for ':M' is "\:"
6ModifyWords: split "\: : \\ * \*" into 5 words
7Result of ${SPECIALS:M${:U}\:} is ":"
8Var_Parse: ${SPECIALS:M\:${:U}} (eval-defined)
9Evaluating modifier ${SPECIALS:M...} on value "\: : \\ * \*"
10Pattern for ':M' is ":"
11ModifyWords: split "\: : \\ * \*" into 5 words
12Result of ${SPECIALS:M\:${:U}} is ":"
13Comparing ":" != ":"
14Global: VALUES = : :: :\:
15CondParser_Eval: ${VALUES:M\:${:U\:}} != ${VALUES:M${:U\:}\:}
16Var_Parse: ${VALUES:M\:${:U\:}} != ${VALUES:M${:U\:}\:} (eval-defined)
17Evaluating modifier ${VALUES:M...} on value ": :: :\:"
18Var_Parse: ${:U:} (eval-defined)
19Evaluating modifier ${:U} on value "" (eval-defined, undefined)
20Result of ${:U} is "" (eval-defined, defined)
21Pattern for ':M' is ":"
22ModifyWords: split ": :: :\:" into 3 words
23Result of ${VALUES:M\:${:U\:}} is ":"
24Var_Parse: ${VALUES:M${:U\:}\:} (eval-defined)
25Evaluating modifier ${VALUES:M...} on value ": :: :\:"
26Var_Parse: ${:U\:}\: (eval-defined)
27Evaluating modifier ${:U...} on value "" (eval-defined, undefined)
28Result of ${:U\:} is ":" (eval-defined, defined)
29Pattern for ':M' is ":\:"
30ModifyWords: split ": :: :\:" into 3 words
31Result of ${VALUES:M${:U\:}\:} is "::"
32Comparing ":" != "::"
33make: "varmod-match-escape.mk" line 43: warning: XXX: Oops
34Global: .MAKEFLAGS =  -r -k -d cv -d
35Global: .MAKEFLAGS =  -r -k -d cv -d 0
36make: "varmod-match-escape.mk" line 69: Dollar followed by nothing
37make: "varmod-match-escape.mk" line 110: warning: Unfinished character list in pattern '[A-]' of modifier ':M'
38make: "varmod-match-escape.mk" line 110: warning: Unfinished character list in pattern '[^A-]' of modifier ':M'
39make: Fatal errors encountered -- cannot continue
40make: stopped in unit-tests
41exit status 1
42