xref: /llvm-project/llvm/test/tools/llvm-reduce/fail-file-open.test (revision 1437a83491cbe4af1b452a3f862a6b609057c26d)
1*1437a834SRushi Bhamani# RUN: not llvm-reduce --abort-on-invalid-reduction --test=echo %s.NotAFileInTestingDir 2>&1 | FileCheck %s
2472c0091SLangston Barrett
3472c0091SLangston BarrettThis file will not be read. An invalid file path is fed to llvm-reduce.
4472c0091SLangston Barrett
56b3956e1SMatthew Voss# CHECK: llvm-reduce{{.*}}: error: {{.*}}.NotAFileInTestingDir:
6