1 # Not using comment directives is always fine.
3 RUN: echo 'foo' > %t.in
4 RUN: echo 'CHECK: foo' > %t.chk
6 # Check the case of default comment prefixes.
7 RUN: %ProtectFileCheckOutput \
8 RUN: FileCheck -dump-input=never -vv %t.chk < %t.in 2>&1 | FileCheck %s
10 # Specifying non-default comment prefixes doesn't mean you have to use them.
11 # For example, they might be applied to an entire test suite via
12 # FILECHECK_OPTS or via a wrapper command or substitution.
13 RUN: %ProtectFileCheckOutput \
14 RUN: FileCheck -dump-input=never -vv -comment-prefixes=FOO %t.chk < %t.in 2>&1 | FileCheck %s
16 CHECK: .chk:1:8: remark: CHECK: expected string found in input