]> CyberLeo.Net >> Repos - FreeBSD/releng/10.3.git/blob - contrib/bmake/unit-tests/modts.exp
- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
[FreeBSD/releng/10.3.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 make: Bad modifier `:tx' for LIST
27 LIST:tx="}"
28 make: Bad modifier `:ts\x' for LIST
29 LIST:ts/x:tu="\x:tu}"
30 FU_mod-ts="a/b/cool"
31 FU_mod-ts:ts:T="cool" == cool?
32 B.${AAA:ts}="Baaa" == Baaa?
33 exit status 0