build/pymake/tests/escape-chars.mk

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:6631804b2211
1 space = $(NULL) $(NULL)
2 hello$(space)world$(space) = hellovalue
3
4 A = aval
5
6 VAR = value1\\
7 VARAWFUL = value1\\#comment
8 VAR2 = value2
9 VAR3 = test\$A
10 VAR4 = value4\\value5
11
12 VAR5 = value1\\ \ \
13 value2
14
15 EPERCENT = \%
16
17 all:
18 test "$(hello world )" = "hellovalue"
19 test "$(VAR)" = "value1\\"
20 test '$(VARAWFUL)' = 'value1\'
21 test "$(VAR2)" = "value2"
22 test "$(VAR3)" = "test\aval"
23 test "$(VAR4)" = "value4\\value5"
24 test "$(VAR5)" = "value1\\ \ value2"
25 test "$(EPERCENT)" = "\%"
26 @echo TEST-PASS

mercurial