I invoked yaml2obj with a mistyped filename and received no error message. I nearly thought the program had succeeded, but the shell's exit code prompt tipped me off. Pull Request: https://github.com/llvm/llvm-project/pull/144835
5 lines
182 B
Plaintext
5 lines
182 B
Plaintext
# Test case when the input file does not exist.
|
|
RUN: not yaml2obj %t.blah 2>&1 | FileCheck -DMSG=%errc_ENOENT --check-prefix=ENOENT %s
|
|
|
|
ENOENT: yaml2obj: error: {{.*}}.blah: [[MSG]]
|