1 ## Check that a full line is matched case insensitively.
2 # RUN: FileCheck --ignore-case --match-full-lines --check-prefix=FULL --input-file=%s %s
4 ## Check that a regular expression matches case insensitively.
5 # RUN: FileCheck --ignore-case --check-prefix=REGEX --input-file=%s %s
7 ## Check that a pattern from command line matches case insensitively.
8 # RUN: FileCheck --ignore-case --check-prefix=PAT --DPATTERN="THIS is the" --input-file=%s %s
10 ## Check that COUNT and NEXT work case insensitively.
11 # RUN: FileCheck --ignore-case --check-prefix=CNT --input-file=%s %s
13 ## Check that match on same line works case insensitively.
14 # RUN: FileCheck --ignore-case --check-prefix=LINE --input-file=%s %s
16 ## Check that option --implicit-not works case insensitively.
17 # RUN: sed '/^#/d' %s | FileCheck --implicit-check-not=sTrInG %s
18 # RUN: sed '/^#/d' %s | not FileCheck --ignore-case --implicit-check-not=sTrInG %s 2>&1 | FileCheck --check-prefix=ERROR %s
20 this is the STRING to be matched
22 # FULL: tHis iS The String TO be matched
24 # PAT: [[PATTERN]] string
34 # CNT-COUNT-6: LOop {{[0-9]}}
41 # LINE-SAME: {{t}}o match
43 # ERROR: command line:1:{{[0-9]+}}: error: CHECK-NOT: excluded string found in input
44 # ERROR-NEXT: -implicit-check-not='sTrInG'
45 # ERROR: note: found here