Home | History | Annotate | Download | only in unit-tests

Lines Matching refs:then

3 # Tests for the ${cond:?then:else} variable modifier, which evaluates either
4 # the then-expression or the else-expression, depending on the condition.
8 # Until 2015-10-11, the modifier always evaluated both the "then" and the
13 # The variable name of the expression is expanded and then taken as the
43 # context, an undefined expression is not an error. The "variable name" then
56 .if ${1:?then:else:Q} != "then"
59 .if ${0:?then:else:Q} != "else:Q"
84 # then supposed to do proper error handling, but since varUndefined is local
102 # this expansion is then taken as the condition. To force the
139 # evaluated the left-hand side of the operator '&&' and then started parsing
205 # 2. The expression is parsed and the 'then' branch is evaluated.
211 # At 2020-01-01, the expressions from the 'then' and 'else' branches were
255 # expected 'then2'. The 'then' branch of the ':?' modifier was parsed
297 # In the modifier parts for the 'then' and 'else' branches, subexpressions are
311 # expect+2: Unknown modifier ":X-then"
313 .if ${1:?${:X-then}:${:X-else}}