
This patch fixes the incorrect usage of lit's built-in `export` command. There is a typo in raising the error itself where the error being raised had the wrong number of parameters passed in. Fixes https://github.com/llvm/llvm-project/issues/102386.
13 lines
376 B
Python
13 lines
376 B
Python
## Test the export command.
|
|
|
|
# RUN: not %{lit} -a -v %{inputs}/shtest-export \
|
|
# RUN: | FileCheck -match-full-lines %s
|
|
#
|
|
# END.
|
|
|
|
# CHECK: FAIL: shtest-export :: export-too-many-args.txt {{.*}}
|
|
# CHECK: export FOO=1 BAR=2
|
|
# CHECK: # executed command: export FOO=1 BAR=2
|
|
# CHECK: # | 'export' supports only one argument
|
|
# CHECK: # error: command failed with exit status: {{.*}}
|