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