]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bmake/unit-tests/modword.exp
Update to bmake-20201101
[FreeBSD/FreeBSD.git] / contrib / bmake / unit-tests / modword.exp
1 make: Bad modifier `:[]' for LIST
2 LIST:[]="" is an error
3 LIST:[0]="one two three four five six"
4 LIST:[0x0]="one two three four five six"
5 LIST:[000]="one two three four five six"
6 LIST:[*]="one two three four five six"
7 LIST:[@]="one two three four five six"
8 LIST:[0]:C/ /,/="one,two three four five six"
9 LIST:[0]:C/ /,/g="one,two,three,four,five,six"
10 LIST:[0]:C/ /,/1g="one,two,three,four,five,six"
11 LIST:[*]:C/ /,/="one,two three four five six"
12 LIST:[*]:C/ /,/g="one,two,three,four,five,six"
13 LIST:[*]:C/ /,/1g="one,two,three,four,five,six"
14 LIST:[@]:C/ /,/="one two three four five six"
15 LIST:[@]:C/ /,/g="one two three four five six"
16 LIST:[@]:C/ /,/1g="one two three four five six"
17 LIST:[@]:[0]:C/ /,/="one,two three four five six"
18 LIST:[0]:[@]:C/ /,/="one two three four five six"
19 LIST:[@]:[*]:C/ /,/="one,two three four five six"
20 LIST:[*]:[@]:C/ /,/="one two three four five six"
21 EMPTY=""
22 EMPTY:[#]="1" == 1 ?
23 ESCAPEDSPACE="\ "
24 ESCAPEDSPACE:[#]="1" == 1 ?
25 REALLYSPACE=" "
26 REALLYSPACE:[#]="1" == 1 ?
27 LIST:[#]="6"
28 LIST:[0]:[#]="1" == 1 ?
29 LIST:[*]:[#]="1" == 1 ?
30 LIST:[@]:[#]="6"
31 LIST:[1]:[#]="1"
32 LIST:[1..3]:[#]="3"
33 EMPTY:[1]=""
34 ESCAPEDSPACE="\ "
35 ESCAPEDSPACE:[1]="\ "
36 REALLYSPACE=" "
37 REALLYSPACE:[1]="" == "" ?
38 REALLYSPACE:[*]:[1]=" " == " " ?
39 LIST:[1]="one"
40 make: Bad modifier `:[1.]' for LIST
41 LIST:[1.]="" is an error
42 make: Bad modifier `:[1].' for LIST
43 LIST:[1].="}" is an error
44 LIST:[2]="two"
45 LIST:[6]="six"
46 LIST:[7]=""
47 LIST:[999]=""
48 make: Bad modifier `:[-]' for LIST
49 LIST:[-]="" is an error
50 make: Bad modifier `:[--]' for LIST
51 LIST:[--]="" is an error
52 LIST:[-1]="six"
53 LIST:[-2]="five"
54 LIST:[-6]="one"
55 LIST:[-7]=""
56 LIST:[-999]=""
57 LONGLIST:[17]="17"
58 LONGLIST:[0x11]="17"
59 LONGLIST:[021]="17"
60 LIST:[0]:[1]="one two three four five six"
61 LIST:[*]:[1]="one two three four five six"
62 LIST:[@]:[1]="one"
63 LIST:[0]:[2]=""
64 LIST:[*]:[2]=""
65 LIST:[@]:[2]="two"
66 LIST:[*]:C/ /,/:[2]=""
67 LIST:[*]:C/ /,/:[*]:[2]=""
68 LIST:[*]:C/ /,/:[@]:[2]="three"
69 LONGLIST:[012..0x12]="10 11 12 13 14 15 16 17 18"
70 make: Bad modifier `:[1.]' for LIST
71 LIST:[1.]="" is an error
72 make: Bad modifier `:[1..]' for LIST
73 LIST:[1..]="" is an error
74 LIST:[1..1]="one"
75 make: Bad modifier `:[1..1.]' for LIST
76 LIST:[1..1.]="" is an error
77 LIST:[1..2]="one two"
78 LIST:[2..1]="two one"
79 LIST:[3..-2]="three four five"
80 LIST:[-4..4]="three four"
81 make: Bad modifier `:[0..1]' for LIST
82 LIST:[0..1]="" is an error
83 make: Bad modifier `:[-1..0]' for LIST
84 LIST:[-1..0]="" is an error
85 LIST:[-1..1]="six five four three two one"
86 LIST:[0..0]="one two three four five six"
87 LIST:[3..99]="three four five six"
88 LIST:[-3..-99]="four three two one"
89 LIST:[-99..-3]="one two three four"
90 HASH="#" == "#" ?
91 LIST:[${HASH}]="6"
92 LIST:[${ZERO}]="one two three four five six"
93 LIST:[${ZERO}x${ONE}]="one"
94 LIST:[${ONE}]="one"
95 LIST:[${MINUSONE}]="six"
96 LIST:[${STAR}]="one two three four five six"
97 LIST:[${AT}]="one two three four five six"
98 make: Bad modifier `:[${EMPTY' for LIST
99 LIST:[${EMPTY}]="" is an error
100 LIST:[${LONGLIST:[21]:S/2//}]="one"
101 LIST:[${LIST:[#]}]="six"
102 LIST:[${LIST:[${HASH}]}]="six"
103 LIST:[  -1..   +3]="six five four three"
104 LIST:S/ /,/="one two three four five six"
105 LIST:S/ /,/W="one,two three four five six"
106 LIST:S/ /,/gW="one,two,three,four,five,six"
107 EMPTY:S/^/,/=","
108 EMPTY:S/^/,/W=","
109 LIST:C/ /,/="one two three four five six"
110 LIST:C/ /,/W="one,two three four five six"
111 LIST:C/ /,/gW="one,two,three,four,five,six"
112 EMPTY:C/^/,/=","
113 EMPTY:C/^/,/W=","
114 LIST:tW="one two three four five six"
115 LIST:tw="one two three four five six"
116 LIST:tW:C/ /,/="one,two three four five six"
117 LIST:tW:C/ /,/g="one,two,three,four,five,six"
118 LIST:tW:C/ /,/1g="one,two,three,four,five,six"
119 LIST:tw:C/ /,/="one two three four five six"
120 LIST:tw:C/ /,/g="one two three four five six"
121 LIST:tw:C/ /,/1g="one two three four five six"
122 LIST:tw:tW:C/ /,/="one,two three four five six"
123 LIST:tW:tw:C/ /,/="one two three four five six"
124 exit status 0