1 ; Create a case that produces a simple diagnostic.
2 ; RUN: echo foo > %t.in
6 ; RUN: %ProtectFileCheckOutput \
7 ; RUN: not FileCheck %s -dump-input=never -input-file %t.in 2>&1 \
8 ; RUN: | FileCheck -check-prefix QUIET %s
10 ; RUN: %ProtectFileCheckOutput FILECHECK_OPTS= \
11 ; RUN: not FileCheck %s -dump-input=never -input-file %t.in 2>&1 \
12 ; RUN: | FileCheck -check-prefix QUIET %s
14 ; RUN: %ProtectFileCheckOutput FILECHECK_OPTS=-v \
15 ; RUN: not FileCheck %s -dump-input=never -input-file %t.in 2>&1 \
16 ; RUN: | FileCheck -check-prefix VERB %s
18 ; QUIET-NOT: remark: {{CHECK}}: expected string found in input
19 ; VERB: remark: {{CHECK}}: expected string found in input