Sync with manuals from netbsd-8 branch.
[minix3.git] / usr.bin / make / unit-tests / moderrs.mk
blob825e6c719c40225d436eab48389a437b1367e4be
1 # $Id: moderrs.mk,v 1.1 2014/08/21 13:44:51 apb Exp $
3 # various modifier error tests
5 VAR=TheVariable
6 # incase we have to change it ;-)
7 MOD_UNKN=Z
8 MOD_TERM=S,V,v
9 MOD_S:= ${MOD_TERM},
11 all: modunkn modunknV varterm vartermV modtermV
13 modunkn:
14 @echo "Expect: Unknown modifier 'Z'"
15 @echo "VAR:Z=${VAR:Z}"
17 modunknV:
18 @echo "Expect: Unknown modifier 'Z'"
19 @echo "VAR:${MOD_UNKN}=${VAR:${MOD_UNKN}}"
21 varterm:
22 @echo "Expect: Unclosed variable specification for VAR"
23 @echo VAR:S,V,v,=${VAR:S,V,v,
25 vartermV:
26 @echo "Expect: Unclosed variable specification for VAR"
27 @echo VAR:${MOD_TERM},=${VAR:${MOD_S}
29 modtermV:
30 @echo "Expect: Unclosed substitution for VAR (, missing)"
31 -@echo "VAR:${MOD_TERM}=${VAR:${MOD_TERM}}"