xref: /netbsd-src/usr.bin/make/unit-tests/varmod-select-words.exp (revision 224a1fcf9385c9ea344f3f0ec6a1ff9347e98a32)
1make: Bad modifier ":[]"
2	while evaluating variable "LIST" with value "one two three four five six"
3	in target "mod-squarebrackets-empty"
4LIST:[0]="one two three four five six"
5LIST:[0x0]="one two three four five six"
6LIST:[000]="one two three four five six"
7LIST:[*]="one two three four five six"
8LIST:[@]="one two three four five six"
9LIST:[0]:C/ /,/="one,two three four five six"
10LIST:[0]:C/ /,/g="one,two,three,four,five,six"
11LIST:[0]:C/ /,/1g="one,two,three,four,five,six"
12LIST:[*]:C/ /,/="one,two three four five six"
13LIST:[*]:C/ /,/g="one,two,three,four,five,six"
14LIST:[*]:C/ /,/1g="one,two,three,four,five,six"
15LIST:[@]:C/ /,/="one two three four five six"
16LIST:[@]:C/ /,/g="one two three four five six"
17LIST:[@]:C/ /,/1g="one two three four five six"
18LIST:[@]:[0]:C/ /,/="one,two three four five six"
19LIST:[0]:[@]:C/ /,/="one two three four five six"
20LIST:[@]:[*]:C/ /,/="one,two three four five six"
21LIST:[*]:[@]:C/ /,/="one two three four five six"
22EMPTY=""
23EMPTY:[#]="1" == 1 ?
24ESCAPEDSPACE="\ "
25ESCAPEDSPACE:[#]="1" == 1 ?
26REALLYSPACE=" "
27REALLYSPACE:[#]="1" == 1 ?
28LIST:[#]="6"
29LIST:[0]:[#]="1" == 1 ?
30LIST:[*]:[#]="1" == 1 ?
31LIST:[@]:[#]="6"
32LIST:[1]:[#]="1"
33LIST:[1..3]:[#]="3"
34EMPTY:[1]=""
35ESCAPEDSPACE="\ "
36ESCAPEDSPACE:[1]="\ "
37REALLYSPACE=" "
38REALLYSPACE:[1]="" == "" ?
39REALLYSPACE:[*]:[1]=" " == " " ?
40LIST:[1]="one"
41make: Bad modifier ":[1.]"
42	while evaluating variable "LIST" with value "one two three four five six"
43	in target "mod-squarebrackets-n-error-1"
44make: Bad modifier ":[1]."
45	while evaluating variable "LIST" with value "one two three four five six"
46	in target "mod-squarebrackets-n-error-2"
47LIST:[2]="two"
48LIST:[6]="six"
49LIST:[7]=""
50LIST:[999]=""
51make: Bad modifier ":[-]"
52	while evaluating variable "LIST" with value "one two three four five six"
53	in target "mod-squarebrackets-n-error-3"
54make: Bad modifier ":[--]"
55	while evaluating variable "LIST" with value "one two three four five six"
56	in target "mod-squarebrackets-n-error-4"
57LIST:[-1]="six"
58LIST:[-2]="five"
59LIST:[-6]="one"
60LIST:[-7]=""
61LIST:[-999]=""
62LONGLIST:[17]="17"
63LONGLIST:[0x11]="17"
64LONGLIST:[021]="17"
65LIST:[0]:[1]="one two three four five six"
66LIST:[*]:[1]="one two three four five six"
67LIST:[@]:[1]="one"
68LIST:[0]:[2]=""
69LIST:[*]:[2]=""
70LIST:[@]:[2]="two"
71LIST:[*]:C/ /,/:[2]=""
72LIST:[*]:C/ /,/:[*]:[2]=""
73LIST:[*]:C/ /,/:[@]:[2]="three"
74LONGLIST:[012..0x12]="10 11 12 13 14 15 16 17 18"
75make: Bad modifier ":[1.]"
76	while evaluating variable "LIST" with value "one two three four five six"
77	in target "mod-squarebrackets-start-end-error-1"
78make: Bad modifier ":[1..]"
79	while evaluating variable "LIST" with value "one two three four five six"
80	in target "mod-squarebrackets-start-end-error-2"
81make: Bad modifier ":[1.. ]"
82	while evaluating variable "LIST" with value "one two three four five six"
83	in target "mod-squarebrackets-start-end-error-3"
84LIST:[1..1]="one"
85make: Bad modifier ":[1..1.]"
86	while evaluating variable "LIST" with value "one two three four five six"
87	in target "mod-squarebrackets-start-end-error-4"
88LIST:[1..2]="one two"
89LIST:[2..1]="two one"
90LIST:[3..-2]="three four five"
91LIST:[-4..4]="three four"
92make: Bad modifier ":[0..1]"
93	while evaluating variable "LIST" with value "one two three four five six"
94	in target "mod-squarebrackets-start-end-error-5"
95make: Bad modifier ":[-1..0]"
96	while evaluating variable "LIST" with value "one two three four five six"
97	in target "mod-squarebrackets-start-end-error-6"
98LIST:[-1..1]="six five four three two one"
99LIST:[0..0]="one two three four five six"
100LIST:[3..99]="three four five six"
101LIST:[-3..-99]="four three two one"
102LIST:[-99..-3]="one two three four"
103HASH="#" == "#" ?
104LIST:[${HASH}]="6"
105LIST:[${ZERO}]="one two three four five six"
106LIST:[${ZERO}x${ONE}]="one"
107LIST:[${ONE}]="one"
108LIST:[${MINUSONE}]="six"
109LIST:[${STAR}]="one two three four five six"
110LIST:[${AT}]="one two three four five six"
111make: Bad modifier ":[${EMPTY"
while evaluating variable "LIST" with value "one two three four five six"
in target "mod-squarebrackets-nested-error-1"
LIST:[${LONGLIST:[21]:S/2//
}]="
one" 112LIST:[${LIST:[#]}]="six" 113LIST:[${LIST:[${HASH}]}]="six" 114LIST:[ -1.. +3]="six five four three" 115LIST:S/ /,/="one two three four five six" 116LIST:S/ /,/W="one,two three four five six" 117LIST:S/ /,/gW="one,two,three,four,five,six" 118EMPTY:S/^/,/="," 119EMPTY:S/^/,/W="," 120LIST:C/ /,/="one two three four five six" 121LIST:C/ /,/W="one,two three four five six" 122LIST:C/ /,/gW="one,two,three,four,five,six" 123EMPTY:C/^/,/="," 124EMPTY:C/^/,/W="," 125LIST:tW="one two three four five six" 126LIST:tw="one two three four five six" 127LIST:tW:C/ /,/="one,two three four five six" 128LIST:tW:C/ /,/g="one,two,three,four,five,six" 129LIST:tW:C/ /,/1g="one,two,three,four,five,six" 130LIST:tw:C/ /,/="one two three four five six" 131LIST:tw:C/ /,/g="one two three four five six" 132LIST:tw:C/ /,/1g="one two three four five six" 133LIST:tw:tW:C/ /,/="one,two three four five six" 134LIST:tW:tw:C/ /,/="one two three four five six" 135exit status 2 136