]> CyberLeo.Net >> Repos - FreeBSD/releng/10.3.git/blob - contrib/bmake/unit-tests/forloop.exp
- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
[FreeBSD/releng/10.3.git] / contrib / bmake / unit-tests / forloop.exp
1 x=one
2 x="two and three"
3 x=four
4 x="five"
5 x=-I/this
6 x=-I"This or that"
7 x=-Ithat
8 x="-DTHIS=\"this and that\""
9 cfl=-I/this -I"This or that" -Ithat "-DTHIS=\"this and that\""
10 a=one b="two and three"
11 a=four b="five"
12 a=ONE b="TWO AND THREE"
13 a=FOUR b="FIVE"
14 We expect an error next:
15 make: "forloop.mk" line 38: Wrong number of words (9) in .for substitution list with 2 vars
16 make: Fatal errors encountered -- cannot continue
17 make: stopped in unit-tests
18 OK
19 exit status 0