xref: /freebsd/contrib/bmake/unit-tests/moderrs.exp (revision ee3960cba1068e12fb032a68c46d74841d9edab3)
1make: Unknown modifier ":Z"
2	while evaluating variable "VAR" with value "TheVariable"
3	in command "@echo 'VAR:Z=before-${VAR:Z}-after'"
4	in target "mod-unknown-direct"
5make: Unknown modifier ":Z"
6	while evaluating indirect modifiers "Z"
7	while evaluating variable "VAR" with value "TheVariable"
8	in command "@echo 'VAR:${MOD_UNKN}=before-${VAR:${MOD_UNKN}:inner}-after'"
9	in target "mod-unknown-indirect"
10make: Unclosed expression, expecting '}' for modifier "S,V,v,"
11	while evaluating variable "VAR" with value "Thevariable"
12	in command "@echo VAR:S,V,v,=${VAR:S,V,v,"
in target "unclosed-direct"
make: Unclosed expression after indirect modifier, expecting '
}' 13 while evaluating variable "
VAR" with value "Thevariable" 14 in command "@echo VAR:${MOD_TERM},=${VAR:${MOD_S}" 15 in target "unclosed-indirect" 16make: Unfinished modifier after "v", expecting "," 17 while evaluating indirect modifiers "S,V,v" 18 while evaluating variable "VAR" with value "TheVariable" 19 in command "-@echo "VAR:${MOD_TERM}=${VAR:${MOD_TERM}}"" 20 in target "unfinished-indirect" 21make: Unfinished modifier after "var}", expecting "@" 22 while evaluating variable "UNDEF" with value "1 2 3" 23 in command "@echo ${UNDEF:U1 2 3:@var}" 24 in target "unfinished-loop-1" 25make: Unfinished modifier after "...}", expecting "@" 26 while evaluating variable "UNDEF" with value "1 2 3" 27 in command "@echo ${UNDEF:U1 2 3:@var@...}" 28 in target "unfinished-loop-2" 291 2 3 30make: Unclosed expression, expecting '}' for modifier "@var@${var}}...@" 31 while evaluating variable "UNDEF" with value "1}... 2}... 3}..." 32 in command "@echo ${UNDEF:U1 2 3:@var@${var}}...@" 33 in target "loop-close-1" 341}... 2}... 3}... 35make: Unfinished modifier after "}", expecting "]" 36 while evaluating variable "UNDEF" with value "1 2 3" 37 in command "@echo ${UNDEF:U1 2 3:[}" 38 in target "words-1" 39make: Unfinished modifier after "#}", expecting "]" 40 while evaluating variable "UNDEF" with value "1 2 3" 41 in command "@echo ${UNDEF:U1 2 3:[#}" 42 in target "words-2" 4313= 44make: Invalid modifier ":[123451234512345123451234512345]" 45 while evaluating variable "UNDEF" with value "1 2 3" 46 in command "@echo 12345=${UNDEF:U1 2 3:[123451234512345123451234512345]:S,^$,ok,:S,^3$,ok,}" 47 in target "words-3" 48make: Unfinished modifier after "echo}", expecting "!" 49 while evaluating variable "VARNAME" with value "" 50 in command "@echo ${VARNAME:!echo}" 51 in target "exclam-1" 52make: Unfinished modifier after "=exclam}", expecting "!" 53 while evaluating variable "!" with value "!" 54 in command "@echo ${!:L:!=exclam}" 55 in target "exclam-2" 56make: Missing delimiter for modifier ':S' 57 while evaluating variable "VAR" with value "TheVariable" 58 in command "@echo 1: ${VAR:S"
in target "mod-subst-delimiter-1"
make: Unfinished modifier after "", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 2: ${VAR:S,"
in target "mod-subst-delimiter-2"
make: Unfinished modifier after "from", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 3: ${VAR:S,from"
in target "mod-subst-delimiter-3"
make: Unfinished modifier after "", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 4: ${VAR:S,from,"
in target "mod-subst-delimiter-4"
make: Unfinished modifier after "to", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 5: ${VAR:S,from,to"
in target "mod-subst-delimiter-5"
make: Unclosed expression, expecting '
}' for modifier "
S,from,to," 59 while evaluating variable "VAR" with value "TheVariable" 60 in command "@echo 6: ${VAR:S,from,to,"
in target "mod-subst-delimiter-6"
7: TheVariable
make: Missing delimiter for modifier ':C'
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 1: ${VAR:C"
in target "mod-regex-delimiter-1"
make: Unfinished modifier after "", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 2: ${VAR:C,"
in target "mod-regex-delimiter-2"
make: Unfinished modifier after "from", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 3: ${VAR:C,from"
in target "mod-regex-delimiter-3"
make: Unfinished modifier after "", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 4: ${VAR:C,from,"
in target "mod-regex-delimiter-4"
make: Unfinished modifier after "to", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 5: ${VAR:C,from,to"
in target "mod-regex-delimiter-5"
make: Unclosed expression, expecting '
}' for modifier "C,from,to," 61 while evaluating variable "VAR" with value "TheVariable" 62 in command "@echo 6: ${VAR:C,from,to,"
in target "mod-regex-delimiter-6"
7: TheVariable
112358132134
15152535558513521534
make: Unknown modifier ":ts\65oct"
while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34"
in command "@echo ${FIB:ts\65oct
} # bad modifier"
63 in target "mod-ts-parse-3" 64make: Unknown modifier ":ts\65oct" 65 while evaluating "${:U${FIB}:ts\65oct} # bad modifier, variable name is """ with value "1 1 2 3 5 8 13 21 34" 66 in command "@echo ${:U${FIB}:ts\65oct} # bad modifier, variable name is """ 67 in target "mod-ts-parse-4" 68make: Unknown modifier ":tsxy" 69 while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34" 70 in command "@echo ${FIB:tsxy} # modifier too long" 71 in target "mod-ts-parse-5" 72make: Unknown modifier ":t" 73 while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34" 74 in command "@echo ${FIB:t"
in target "mod-t-parse-1"
make: Unknown modifier ":txy"
while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34"
in command "@echo ${FIB:txy
}"
75 in target "mod-t-parse-2" 76make: Unknown modifier ":t" 77 while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34" 78 in command "@echo ${FIB:t}" 79 in target "mod-t-parse-3" 80make: Unknown modifier ":t" 81 while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34" 82 in command "@echo ${FIB:t:M*}" 83 in target "mod-t-parse-4" 84make: Unfinished modifier after "", expecting ":" 85 while evaluating then-branch of condition "FIB" 86 in command "@echo ${FIB:?"
in target "mod-ifelse-parse-1"
make: Unfinished modifier after "then", expecting ":"
while evaluating then-branch of condition "FIB"
in command "@echo ${FIB:?then"
in target "mod-ifelse-parse-2"
make: Unfinished modifier after "", expecting "
}"
87 while evaluating else-branch of condition "FIB" 88 in command "@echo ${FIB:?then:"
in target "mod-ifelse-parse-3"
make: Unfinished modifier after "else", expecting "
}"
89 while evaluating else-branch of condition "FIB" 90 in command "@echo ${FIB:?then:else"
in target "mod-ifelse-parse-4"
then
1 1 2 3 5 8 13 21 34
make: Unknown modifier ":__"
while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34"
in command "@echo ${FIB:__
} # modifier name too long"
91 in target "mod-remember-parse" 92make: Unknown modifier ":3" 93 while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34" 94 in command "@echo ${FIB:3"
in target "mod-sysv-parse-1"
make: Unfinished modifier after "", expecting "
}"
95 while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34" 96 in command "@echo ${FIB:3="
in target "mod-sysv-parse-2"
make: Unfinished modifier after "x3", expecting "
}"
97 while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34" 98 in command "@echo ${FIB:3=x3" 99 in target "mod-sysv-parse-3" 1001 1 2 x3 5 8 1x3 21 34 101exit status 2 102