llvm/utils/lit/tests/shtest-export.py
raw| 1 | ## Test the export command. |
| 2 | |
| 3 | # RUN: not %{lit} -v %{inputs}/shtest-export \ |
| 4 | # RUN: | FileCheck -match-full-lines %s |
| 5 | # |
| 6 | # END. |
| 7 | |
| 8 | # CHECK: FAIL: shtest-export :: export-too-many-args.txt {{.*}} |
| 9 | # CHECK: export FOO=1 BAR=2 |
| 10 | # CHECK: # executed command: export FOO=1 BAR=2 |
| 11 | # CHECK: # | 'export' supports only one argument |
| 12 | # CHECK: # error: command failed with exit status: {{.*}} |