Lines Matching full:condition
4 # the then-expression or the else-expression, depending on the condition.
14 # condition. In the below example it becomes:
20 # fine since the condition would be:
27 # expect+2: while evaluating condition "bare words == "literal"": Bad condition
36 # Because of the early expansion, the whole condition evaluates to
39 # expect+1: while evaluating condition " == """: Bad condition
42 # In a condition, undefined variables generate a "Malformed conditional"
47 # expect+2: while evaluating condition " == """: Bad condition
71 # expect+2: while evaluating condition "1 == == 2": Bad condition
93 # condition should be detected as being malformed before any comparison is
94 # done since there is no well-formed comparison in the condition at all.
96 # expect+1: while evaluating condition "1 == == 2": Bad condition
106 # this expansion is then taken as the condition. To force the
107 # expression in the condition to be evaluated at exactly the right point,
110 # the condition ends up as "${VAR} == value", just as intended.
132 # The tricky detail here is that the condition that looks so obvious in the
134 # This is because the condition is written in the place of the variable name
146 # the comparison operator, but only because this is a condition in the
159 # instead of just saying that the whole condition is bad.
164 # expect+3: while evaluating condition "string == "literal" || no >= 10": Comparison with '>=' requ…
165 # expect+2: while evaluating condition "string == "literal" || no >= 10": Bad condition
172 # expect+2: while evaluating condition "string == "literal" && >= 10": Bad condition
175 # expect+2: while evaluating condition "string == "literal" || >= 10": Bad condition
189 # syntax error since the condition is completely blank.
190 # expect+2: while evaluating condition " ": Bad condition
195 # Since the condition of the '?:' modifier is expanded before being parsed and
271 # Since the condition is taken from the variable name of the expression, not
275 # alternative ways to bring a '$' into the condition.
277 # In an indirect condition using the ':U' modifier, each '$', ':' and
281 # In an indirect condition using a separate variable, each '$' must be
285 # condition parser does not see them.
316 # expect+2: while evaluating then-branch of condition "1": while evaluating "${:X-then}:${:X-else}}…
317 # expect+1: while evaluating else-branch of condition "1": while parsing "${:X-else}}": Unknown mod…