1 RUN: rm -rf %t && mkdir -p %t
2 RUN: echo TA > %t/TA.txt
3 RUN: echo TB > %t/TB.txt
4 RUN: echo TAB > %t/TAB.txt
6 RUN: echo %t/TA* | FileCheck -check-prefix=STAR %s
7 RUN: echo %t/'TA'* | FileCheck -check-prefix=STAR %s
8 RUN: echo %t/T'A'* | FileCheck -check-prefix=STAR %s
10 RUN: echo %t/T?.txt | FileCheck -check-prefix=QUESTION %s
11 RUN: echo %t/'T'?.txt | FileCheck -check-prefix=QUESTION %s
13 RUN: echo %t/T??.txt | FileCheck -check-prefix=QUESTION2 %s
14 RUN: echo %t/'T'??.txt | FileCheck -check-prefix=QUESTION2 %s
16 RUN: echo 'T*' 'T?.txt' 'T??.txt' | FileCheck -check-prefix=QUOTEDARGS %s
19 STAR: {{(TA.txt.*TAB.txt|TAB.txt.*TA.txt)}}
22 QUESTION: {{(TA.txt.*TB.txt|TB.txt.*TA.txt)}}
29 QUOTEDARGS: T* T?.txt T??.txt