| 1 |
# RUN: echo shared-substs-0.txt |
| 2 |
|
| 3 |
# Make sure we don't see modifications that other shared-substs-*.txt have made |
| 4 |
# to the test suite config's substitutions. |
| 5 |
# |
| 6 |
# RUN: %{global:echo} |
| 7 |
|
| 8 |
# Next, modify substs that would affect the above. Verify they are set locally. |
| 9 |
# |
| 10 |
# REDEFINE: %{global:what}=LOCAL0:World |
| 11 |
# REDEFINE: %{global:greeting}=LOCAL0:Hello |
| 12 |
# REDEFINE: %{global:echo}=echo LOCAL0: %{global:greeting} %{global:what} |
| 13 |
# RUN: %{global:echo} |
| 14 |
|
| 15 |
# Finally, set a local that other shared-substs-*.txt also set to be sure |
| 16 |
# there's no redefinition complaint because they left it behind. Verify it is |
| 17 |
# set locally. |
| 18 |
# |
| 19 |
# DEFINE: %{local:echo}=echo LOCAL0: subst |
| 20 |
# RUN: %{local:echo} |
| 21 |
|
| 22 |
# CHECK: Passed: 1 {{\([0-9]*.[0-9]*%\)}} |