xref: /llvm-project/llvm/utils/lit/tests/shtest-glob.py (revision d18ca271f1add262b4ee0318a980f78a402f5e9c)
1## Tests glob pattern handling in echo command.
2
3# RUN: not %{lit} -a -v %{inputs}/shtest-glob \
4# RUN: | FileCheck -dump-input=fail -match-full-lines %s
5#
6# END.
7
8# CHECK: UNRESOLVED: shtest-glob :: glob-echo.txt ({{[^)]*}})
9# CHECK: TypeError: string argument expected, got 'GlobItem'
10
11# CHECK: FAIL: shtest-glob :: glob-mkdir.txt ({{[^)]*}})
12# CHECK: # error: command failed with exit status: 1
13