xref: /llvm-project/llvm/utils/lit/tests/shtest-export.py (revision 1990d8de339ebc1da4be3c978161828d93ffb7bc)
1## Test the export command.
2
3# RUN: not %{lit} -a -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: {{.*}}
13