llvm/test/tools/yaml2obj/invalid_output_file.test
Davide Italiano 4561efc963 [yaml2obj] Improve error message when output file cannot be opened.
Patch by Sam Clegg!

Differential Revision:  https://reviews.llvm.org/D31351

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299546 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-05 14:44:00 +00:00

5 lines
205 B
Plaintext

# RUN: not yaml2obj -o %p/path/does/not/exist 2>&1 | FileCheck %s
# Don't check the OS-dependent message "No such file or directory".
# CHECK: yaml2obj: Error opening '{{.*}}/path/does/not/exist': {{.*}}