xref: /freebsd/contrib/bmake/unit-tests/directive-for-escape.exp (revision 3110d4ebd6c0848cf5e25890d01791bb407e2a9b)
1For: end for 1
2For: loop body:
3.  info ${:U!"#$%&'()*+,-./0-9\:;<=>?@A-Z[\\]_^a-z{|\}~}
4make: Unclosed variable specification (expecting '}') for "" (value "!"") modifier U
5make: "directive-for-escape.mk" line 19: !"
6For: end for 1
7For: loop body:
8.  info ${:U!"\\\\#$%&'()*+,-./0-9\:;<=>?@A-Z[\\]_^a-z{|\}~}
9make: Unclosed variable specification (expecting '}') for "" (value "!"\\") modifier U
10make: "directive-for-escape.mk" line 29: !"\\
11For: end for 1
12For: loop body:
13.  info ${:U\$}
14make: "directive-for-escape.mk" line 41: $
15For: loop body:
16.  info ${:U${V}}
17make: "directive-for-escape.mk" line 41: value
18For: loop body:
19.  info ${:U${V:=-with-modifier}}
20make: "directive-for-escape.mk" line 41: value-with-modifier
21For: loop body:
22.  info ${:U$(V)}
23make: "directive-for-escape.mk" line 41: value
24For: loop body:
25.  info ${:U$(V:=-with-modifier)}
26make: "directive-for-escape.mk" line 41: value-with-modifier
27For: end for 1
28For: loop body:
29.  info ${:U\${UNDEF\:U\\$\\$}
30make: "directive-for-escape.mk" line 52: ${UNDEF:U\$
For: loop body:
. info ${:U{{\
}\}} 31make: "directive-for-escape.mk" line 52: {{}} 32For: loop body: 33. info ${:Uend\}} 34make: "directive-for-escape.mk" line 52: end} 35For: end for 1 36For: loop body: 37. info ${:U\$} 38make: "directive-for-escape.mk" line 60: $ 39For: end for 1 40For: loop body: 41. info ${NUMBERS} ${:Ureplaced} 42make: "directive-for-escape.mk" line 68: one two three replaced 43For: end for 1 44For: loop body: 45. info ${:Ureplaced} 46make: "directive-for-escape.mk" line 78: replaced 47For: end for 1 48For: loop body: 49. info . $$i: ${:Uinner} 50. info . $${i}: ${:Uinner} 51. info . $${i:M*}: ${:Uinner:M*} 52. info . $$(i): $(:Uinner) 53. info . $$(i:M*): $(:Uinner:M*) 54. info . $${i$${:U}}: ${i${:U}} 55. info . $${i\}}: ${:Uinner\}} # XXX: unclear why SubstVarLong needs this 56. info . $${i2}: ${i2} 57. info . $${i,}: ${i,} 58. info . adjacent: ${:Uinner}${:Uinner}${:Uinner:M*}${:Uinner} 59make: "directive-for-escape.mk" line 86: . $i: inner 60make: "directive-for-escape.mk" line 87: . ${i}: inner 61make: "directive-for-escape.mk" line 88: . ${i:M*}: inner 62make: "directive-for-escape.mk" line 89: . $(i): inner 63make: "directive-for-escape.mk" line 90: . $(i:M*): inner 64make: "directive-for-escape.mk" line 91: . ${i${:U}}: outer 65make: "directive-for-escape.mk" line 92: . ${i\}}: inner} 66make: "directive-for-escape.mk" line 93: . ${i2}: two 67make: "directive-for-escape.mk" line 94: . ${i,}: comma 68make: "directive-for-escape.mk" line 95: . adjacent: innerinnerinnerinner 69make: no target to make. 70 71make: stopped in unit-tests 72exit status 2 73