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

Lines Matching refs:backslash

23 # This backslash is treated as a line continuation.
42 # The simplest was to produce a single backslash is the :U modifier.
43 BACKSLASH= ${:U\\}
44 .if ${BACKSLASH} != "\\"
55 # match the single backslash.
56 # expect: while evaluating variable "BACKSLASH" with value ""
57 .if ${BACKSLASH:Mx\}
64 .if ${BACKSLASH:Mx\\}
71 .if ${BACKSLASH:Mx\\\\\\\\}
77 # Adding more text after the backslash adds to the pattern, as the backslash
80 .if ${BACKSLASH:Mx\:Nzzz} != ""
86 .if ${BACKSLASH:Mx\\:Nzzz} != ""
92 .if ${BACKSLASH:Mx\\\\\\\\:Nzzz} != ""
99 # expect+1: Unfinished backslash at the end in pattern "\" of modifier ":M"
100 .if ${BACKSLASH:M${BACKSLASH}} != "\\"
111 .if ${BACKSLASH:M${:U\\\\}} != "\\"
117 # Matching a backslash with the pattern matching characters works.
118 .if ${BACKSLASH:M?} != "\\"
121 .if ${BACKSLASH:M*} != "\\"
124 .if ${BACKSLASH:M[Z-a]} != "\\"
127 .if ${BACKSLASH:M[\\]} != "\\"