xref: /freebsd/contrib/bmake/unit-tests/varmod-match-escape.exp (revision d4eeb02986980bf33dd56c41ceb9fc5f180c0d47)
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 42: warning: XXX: Oops
34Global: .MAKEFLAGS =  -r -k -d cv -d
35Global: .MAKEFLAGS =  -r -k -d cv -d 0
36make: "varmod-match-escape.mk" line 67: Dollar followed by nothing
37make: Fatal errors encountered -- cannot continue
38make: stopped in unit-tests
39exit status 1
40