]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/bmake/unit-tests/modts.exp
MFC r368207,368607:
[FreeBSD/stable/10.git] / contrib / bmake / unit-tests / modts.exp
1 LIST="one two three four five six"
2 LIST:ts,="one,two,three,four,five,six"
3 LIST:ts/:tu="ONE/TWO/THREE/FOUR/FIVE/SIX"
4 LIST:ts::tu="ONE:TWO:THREE:FOUR:FIVE:SIX"
5 LIST:ts:tu="ONETWOTHREEFOURFIVESIX"
6 LIST:tu:ts/="ONE/TWO/THREE/FOUR/FIVE/SIX"
7 LIST:ts:="one:two:three:four:five:six"
8 LIST:ts="onetwothreefourfivesix"
9 LIST:ts:S/two/2/="one2threefourfivesix"
10 LIST:S/two/2/:ts="one2threefourfivesix"
11 LIST:ts/:S/two/2/="one/2/three/four/five/six"
12 Pretend the '/' in '/n' etc. below are back-slashes.
13 LIST:ts/n="one
14 two
15 three
16 four
17 five
18 six"
19 LIST:ts/t="one  two     three   four    five    six"
20 LIST:ts/012:tu="ONE
21 TWO
22 THREE
23 FOUR
24 FIVE
25 SIX"
26 LIST:ts/xa:tu="ONE
27 TWO
28 THREE
29 FOUR
30 FIVE
31 SIX"
32 make: Bad modifier `:tx' for LIST
33 LIST:tx="}"
34 make: Bad modifier `:ts\X' for LIST
35 LIST:ts/x:tu="\X:tu}"
36 FU_mod-ts="a/b/cool"
37 FU_mod-ts:ts:T="cool" == cool?
38 B.${AAA:ts}="Baaa" == Baaa?
39 exit status 0